PC Review


Reply
Thread Tools Rate Thread

DataSource without DataSet?

 
 
Peter Rabbit
Guest
Posts: n/a
 
      17th Jul 2003
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

--
Peter Aspey
-------------------------------------------------------
email: replace 6 by p


 
Reply With Quote
 
 
 
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      17th Jul 2003
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.
__________________________________

"Peter Rabbit" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
> --
> Peter Aspey
> -------------------------------------------------------
> email: replace 6 by p
>
>



 
Reply With Quote
 
Peter Rabbit
Guest
Posts: n/a
 
      17th Jul 2003
Many thanks, Bill. That got me over that hurdle. (We'll see what the nxt one
is!)

--
Peter Aspey
-------------------------------------------------------
email: replace 6 by p

"William (Bill) Vaughn" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
> __________________________________
>
> "Peter Rabbit" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> > --
> > Peter Aspey
> > -------------------------------------------------------
> > email: replace 6 by p
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i use a dataset w/o a datasource? forest demon Microsoft C# .NET 5 10th Jan 2008 04:18 PM
Dataset or datasource control? Jason James Microsoft ADO .NET 0 1st May 2006 02:24 PM
why can I set grid's DataSource to a DataSet but not to a table in the DataSet? Bennett Haselton Microsoft ADO .NET 1 25th Jul 2004 08:24 AM
Using ADO.NET dataset as report datasource Tor Inge Rislaa Microsoft VB .NET 0 14th Oct 2003 11:40 AM
cast datagrid.datasource to dataset (datasource is table) newsgroper@yahoo.com Microsoft Dot NET Framework Forms 1 4th Jul 2003 04:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:16 PM.