5
Shouts

Web 2.0 | Did you know.. How to create CSV or Text file in C#?

posted by farooqkaiserfarooqkaiser 822 days, 3 hours, 6 minutes ago
Tuesday, February 23, 2010 9:58:52 PM GMT

Here is our C# code to generate CSV file. 1: StringBuilder sb = new StringBuilder(); 2:string strDelimiter = ","; 3:  4:foreach (DataRow dr in table.Rows) 5: { 6:string[] arr = Array.ConvertAll(dr.ItemArray, new Converter

category: ASP.NET | clicked: 2 | | source: www.fairnet.com | show counter code
tags: .NET, C#, CSV

No comments yet, be the first one to post comment.

To post your comment please login or signup