DataSet to excel?

  • Thread starter Thread starter Guest
  • Start date Start date
Fill the dataset with a DataAdapter setting the AcceptChangesDuringFill to
false. Then use the OleDbDataAdapter to Update it - the connection string
is available at http://www.connectionstrings.com/ under the Excel section.
You can also use the WriteXML method and then use Com INterop to pull it in.

HTH,

Bill

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
Pankaj Banga said:
What is the most efficient way of transforming DataSet to excel
spreadsheet?
 
Back
Top