Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use dataAdapter created by VS2003? 1

Status
Not open for further replies.

qajussi

Programmer
Mar 22, 2004
236
0
0
US
Hi!

I created dataAdapter and DataSet using the VS2003 toolbox's wizard.
When I created the dataAdapter, it also created the connectin object for me.

How do I use these in my code?
If I were to bind this to the datagrid,
I did datagrid1.datasource = dataset11
datagrid1.databind()

All I got was the header and no record data.

When I preview my dataset from the dataAdapter (from property and I can build the dataset), I see all my records.

But nothing shows up except the header.

I have been just coding all these adapters, connection object and dataset by hand.

I am trying to learn how to use the method using the VS2003 tool.

I searched google but haven't found one tutorial.

Can you show me how to use the wizard created dataAdapter, connection and dataset??
Thanks much.

W
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top