DataSet to excel?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the most efficient way of transforming DataSet to excel spreadsheet?
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top