|
I think my main problem is understanding how I specify
the datasource at run time. At the moment, I’m only using a hardcoded
value in my sqlMap.config, like the tutorial, and don’t know where to
start looking to do it any other way. Do you have any links to documentation about how I
can dynamically set the datasource for my SqlMapper? I’ll ponder it over the weekend. Thanks for the
info so far :) -- Per Magne From:
Gilles Bayon [mailto:[EMAIL PROTECTED] You just have to use the CSV file as a database
(forget that the DataSource is flat file, you are just using an ADO.NET OLEDB provider as Access). set the connection sting set the sql statement in your mapping file set you parameter map, result map and go |
- Mapping objects from CSV files. (.Net) Per Magne Bjornerud
- Re: Mapping objects from CSV files. (.Net) Gilles Bayon
- RE: Mapping objects from CSV files. (.Net) Per Magne Bjornerud
- Re: Mapping objects from CSV files. (.Net) Gilles Bayon
- RE: Mapping objects from CSV files. (.Net) Per Magne Bjornerud
- Re: Mapping objects from CSV files. (.Net) Chris Weisel
- RE: Mapping objects from CSV files. (.Net) Ron Grabowski
- RE: Mapping objects from CSV files. (.Net) Per Magne Bjornerud
