Fill Dataset

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

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
 
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
 
Back
Top