How to import Excel datas to GridView?
Hi sujayanand,
Refer the below article.
hi dharmendr bro,
As I am using SQLConnection I need of SqlConnection link. I tried to change but in this line I am getting error.
dtExcelSchema = connExcel.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
No need to change OLEDB to SQL. You just need to import the namespace System.Data.OleDb.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.