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