Subscribe to Recent Solutions        RSS Feed
- - - - -

Export DataTable to Excel .CSV using C#.Net {How easy is this}

Icon 2 Comments
Export DataTable to Excel/CSV using C#


I was working on a project and my client asked me to export data to excel or .csv file. do you know how easy is this, Just by using StreamWriter I exported a DataTable to excel .csv file.

and here is the code

for this article I used Northwind database and Employees table from MS SQL server.
...

Page 1 of 1

Search My Blog

1 user(s) viewing

1 Guests
0 member(s)
0 anonymous member(s)