mahmudur rifat

mahmudur rifat

  • NA
  • 33
  • 13.4k

specific column reader file

Jul 17 2016 4:56 AM
my project mvc 4.i upload xls file.this file read excel reader.i want read column value.Below in my code
 
while (reader.Read())
{
string post = (reader[1].ToString().Trim());
}
 
error : Object reference not set to an instance of an object.

Answers (1)