if you want to consider first row as column then mention HDR=Yes otherwise no.using System.Data.OleDb;for(Int32 i=0; i { Response.Write(dataSetFromCSV.Tables[0].Columns[i]. ColumnName + ""); }the above code is used to print all the column names