string[] FileN = new string[2]; FileN = FileUploadInput.FileName.Split('.'); string FileName = FileN[0].ToString() + this.Session.SessionID.ToString() + "." + FileN[1].ToString(); string strFilePath = @"C:\Revanth\EIDDemotions\InputFile\" + FileName; string connString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + strFilePath + ";Extended Properties=\"Excel 12.0;HDR=YES;IMEX=1;\""; OleDbConnection cnExcel = new OleDbConnection(connString.ToString()); cnExcel.Open();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)