Tech Tutorials Database
GeekArticles Microsoft ASP.NET
 

Auto-detect CSV Separator

 
Author: aspalliance.com
Category: ASP.NET
Comments (0)

CSV files are very popular for storing tabular data because they are simple textual files with a very few rules. This makes them very interoperable because CSV readers and writers are relatively easy to implement. Interoperability is, probably, the first reason why would someone choose to save the data in CSV format. In order to build a generic CSV reader that will read CSV file regardless of the separator, the reader must first figure out which character is used as a separator. This article gives one possible solution to this problem.

Read More...




Sponsored Links




Read Next: Inheritance mapping strategies in Fluent Nhibernate



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe