Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Fill Dataset

Reply
Thread Tools

Fill Dataset

 
 
shapper
Guest
Posts: n/a
 
      12-04-2006
Hello,

I know this is a basic question but I am having a problem.

I am using System.Data.Common and I created a command.

1 ...
2 Dim command As DbCommand = dbProvider.CreateCommand()
3 ...

I need to fill a dataset but I am having problems.

Could somebody help me out?

Thanks,

Miguel

 
Reply With Quote
 
 
 
 
Mohsin Rizvi
Guest
Posts: n/a
 
      12-05-2006
Hello shapper,

If you are simply asking about which statement will help you filling
your dataset then try

DataAdapter.Fill(yourDataSet);

Since DataAdapter acts as a bridge between datasource and dataset so it
will fill your dataset with the result returned from datasource.

Feel free to ask if you are not satisfied.
Hope this helps!

Regards,
Mohsin Rizvi

shapper wrote:
> Hello,
>
> I know this is a basic question but I am having a problem.
>
> I am using System.Data.Common and I created a command.
>
> 1 ...
> 2 Dim command As DbCommand = dbProvider.CreateCommand()
> 3 ...
>
> I need to fill a dataset but I am having problems.
>
> Could somebody help me out?
>
> Thanks,
>
> Miguel


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Re: how-to fill a DataSet from an OleDbDataReader Alex Papadimoulis ASP .Net 3 09-18-2003 07:53 PM
Re: how-to fill a DataSet from an OleDbDataReader William Ryan ASP .Net 0 09-17-2003 04:01 PM
Re: how-to fill a DataSet from an OleDbDataReader Christian Pické ASP .Net 0 09-17-2003 02:05 PM
Re: how-to fill a DataSet from an OleDbDataReader Jay Balapa ASP .Net 0 09-17-2003 02:02 PM
Re: how-to fill a DataSet from an OleDbDataReader Mark Kamoski ASP .Net 0 09-17-2003 02:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57