Steps:
1. Create a DataTable Schema.
2. Fill the created table with some sample data.
3. Create a StringBuilder, by appending all the data, (using comma delimiter)
a) Create one new line with data table columns.
b) Create one line for each data table row.
4. Save the StringBuilder to Csv file, using FileStream.
No comments:
Post a Comment