Data Source Configuration Wizard and autogenerated code

G

Guest

Hi,
i have an Access Database being used in my project. When i double click on
this in Solutions Explorer, a wizard pops up ("Data Source Configuration
Wizard"). Apparently, this wizard allows you to select database object for
which you want "accessor" classes created for. This is all good and i like
the idea, as it creates classes to access any tables in your database without
you having to write code. BUT, the problem is, how do i use these classes
that have been autogenerated? Are there any samples anywhere showing how to
use these?

I have tried using them, and can compile my code, but when iterating thru a
dataset for rows, no rows are returned...

Thanks much
 
W

William \(Bill\) Vaughn

Most books (including mine) discuss the DataAdapter Configuration wizard.
Once you build a DataAdapter you need to execute the Fill method to populate
the DataTable with data.

myDataSet = New DataSet
MyDataAdapter.Fill (myDataSet)


--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
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.
__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top