I am trying to read column names from excel using ASP.Net. Any help?
Use a data reader and provide a column name
Example:
col1 = dr["mycolumnname"].ToString();
"mycolumnname" will be the column name of your excel sheet