when i am going to upload control & upload excel files then click btnUpload use Oledb connection, when do the Open connection then this message are shown.
using (OleDbConnection con = new OleDbConnection(conString)) { using (OleDbCommand cmd = new OleDbCommand()) { cmd.Connection = con; //here msg popup shown con.Open(); dtTabs = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null); //sheetName = dt.Rows[0]["Table_Name"].ToString(); //sheetName = "Insureds$"; con.Close(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)