Кто знает ответьте: можно ли в .NET работать с *.CSV - файлами как с БД (например через OLEDB)? Если да - подскажите, пожалуйста, вид connection string.
Заранее спасибо.
[Ответ]
The delimiter can be specified in the registry at the following location:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Jet \ 4.0 \ Engines \ Text "Format" = "TabDelimited"
or
"Format" = "Delimited( ; )"
"HDR=Yes;" indicates that the first row contains columnnames, not data. "HDR=No;" indicates the opposite. To specify each columns length use the Schema.ini file. See description below.
Important note!
The quota " in the string needs to be escaped using your language specific escape syntax.
c#, c++ \"
VB6, VBScript ""
xml (web.config etc) "
or maybe use a single quota '.