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

added by ebizdom
2/23/2010 2:56:08 PM

108 Views

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.I...


0 comments