Sunday, 9 March 2008
Import CSV file to DataTable
Posted on 15:07 by Unknown
I'm preparing a demo right now and for this I'm importing a CSV file to CRM. Especially the piece around the import of data from a CSV file to a DataTable is very generic. I'm sharing it with you guys for if it does make sense for you to use this as well.class CSVReader{ public System.Data.DataTable GetDataTable(string strFileName) { System.Data.OleDb.OleDbConnection conn = new
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment