converting dataset to excel ..

  • Thread starter Thread starter Guest
  • Start date Start date
You can use a OleDbDataAdapter http://www.connectionstrings.com/ (Look for
Excel) and then just call Update. Otherwise, you're going to have to use
the Excel Library and walk the sheet, populating a dataset from there. It's
not very complex, just two loops, if you don't know the excel object model
it'sa pain inthe butt. here's an example
http://www.codeproject.com/dotnet/ExportExcelData.asp However if you put in
Excel to DataSet in google, there's quite a few more that are pretty much
ready to go.

HTH,

Bill
 
Back
Top