c# - how to use subsonic to read csv file -


I should convert a CSV file to a good report for the owners.

First of all, I did not think of programming at all. As a power user of both Excel and Word, I thought I could not work with it at any time, even without any stupid MS macro ...

It was discovered that I was wrong.

So I have to do some program to work. And it should be in C #

Because I'm a big fan of non-invention-here and other database-to-object approach, I once used to work with Rack / Ruby / Roar / Active_Record, And at the time of returning to C #, I get subsonic classes to get simple jobs easily and later change things easily. Especially its simple design design is very good. It was almost half a year ago.

Now I have this simple question, I can not find anything related to CSV in the subsonic site, but the subsonic website asks you to ask the stack overflow instead, here we are:

Can I use SubSonic to read data in CSV file? (Unlike a regular sqlite or mysql database)

subsonic is an ORM, not There is a library to read the CSV files. If I were you, then I would use this library to read the CSV file in memory:

Once you read the file, you can use it to save it to the database later and to use the subsonic can do. / P>


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -