DataSource without DataSet?

  • Thread starter Thread starter Peter Rabbit
  • Start date Start date
P

Peter Rabbit

I want to write a fairly large amount of data (gathered from binary files
for a specific application) to a (Jet) database. There is no need to keep
the data in memory nor to manipulate it in any way. Do I need to use a
DataSet? (I'm using C#)
I thought I saw somewhere in the .NET Framework documentation that one
doesn't need to have a DataSet if you are not going to play with the data in
memory, but I can't remember or find back where I saw this. Can someone
point me in the right direction; or was I dreaming?

Thanks, Peter
 
No, you weren't dreaming. You can construct INSERT statements or create a
Command that contains an INSERT SQL statement to pass to JET. Use the
ExecuteNonQuery to execute the Command.

hth
--
____________________________________
Bill Vaughn
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
Back
Top