1

I am using LinqToExcel in my web application for getting WorksheetNames and columnnames, now i want to show some datas in gridview.Is there any method to create a DataSet using LinqToExcel.

bensonissac
  • 635
  • 5
  • 10

1 Answers1

1

You'll have to manually create the DataSet if you use LinqToExcel.

Does the gridview.ls have a DataSource property? If it does, then you can have LinqToExcel retrieve a list of objects from the spreadsheet and set the DataSource to that list.

Paul
  • 18,349
  • 7
  • 49
  • 56