Re: How to update CSV file by OleDBDataAdapter?
From: Val Mazur (group51a_at_hotmail.com)
Date: 07/28/04
- Next message: Kevin Yu [MSFT]: "RE: Jet database engine changes password"
- Previous message: Kevin Yu [MSFT]: "Re: Strange new concurrency issue"
- In reply to: Evgeny Zoldin: "How to update CSV file by OleDBDataAdapter?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 00:14:38 -0400
Hi,
you cannot open any text file in an updatable mode. This is a limitation.
You would need to find another way to do this - writing directly to the
file, but not through the Oledb Provider
-- Val Mazur Microsoft MVP "Evgeny Zoldin" <zoldin@hotmail.com> wrote in message news:O%23b%23oZEdEHA.3300@TK2MSFTNGP09.phx.gbl... > Hi ALL, > > there a lot of examples how to read data from CSV file, but I could not > find > any about how to save changed or newly inserted data back to the file. I > tried to call method Update on OleDbDataAdapter which filled respective > table, but debugger jumped out of the called function back to the caller > without any exception, while no chaged data were saved into the CSV file! > > Why oDataAdapter.Update( oDataTable ) does not work and is it possible to > save changes "automatically" (not "manually" - row by row, field by > field...)? > > Thanks > >
- Next message: Kevin Yu [MSFT]: "RE: Jet database engine changes password"
- Previous message: Kevin Yu [MSFT]: "Re: Strange new concurrency issue"
- In reply to: Evgeny Zoldin: "How to update CSV file by OleDBDataAdapter?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|