Steveluo’s Blog

Just another WordPress.com weblog

DataTable to Excel

Posted by steveluo on April 10, 2009

1) cliperboard
   http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23003697.html
2) CSV file
    http://gis.utah.gov/code-c-/c-convert-ado-net-datatable-to-excel-spreadsheet-3
3) interop

4)  XML
ds as new dataset
ds.tables.add(yourtable)
ds.writexml(“yourfile”)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: