If you find this article useful, consider making a small donation to show your support for this web site and its content.
DiscountASP
AboutMe
About me:
Hi. My name is Farooq Kaiser and I'm a software developer from Toronto, Canada.

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

by Farooq Kaiser 23. February 2010 07:52
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... [More]

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

.NET | C# | Did you know

Using ODBC driver to access XLS, XLSX, TXT or CSV files.

by Farooq Kaiser 18. December 2009 13:59
In this article, i will examined how to access XLS, XLSX, TXT or CSV files. It is very easy to access these files using ODBC drivers. Here are Connection Strings Excel Connection String "Provider=Microsoft.Jet.OLEDB.4.0; data source={0}; Extended Properties=\"Exc... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C#

Jobs Autos Real estate Videos Power by Google