If FileUpload1.HasFile Then Dim xlApp As Excel.Application txtRecivedDate.Text = Date.Now.ToString("ddmmyyhhmmss") Dim FileName As String = Path.GetFileName(FileUpload1.PostedFile.FileName) Dim Extension As String = Path.GetExtension(FileUpload1.PostedFile.FileName) Dim FolderPath As String = ConfigurationManager.AppSettings("FolderPath") Dim FilePath As String = Server.MapPath(FolderPath & "PLPS" & txtRecivedDate.Text & Extension) FileUpload1.SaveAs(FilePath) WSheet = "" xlApp = New Excel.ApplicationClass
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)