You dont really need to know the specifics about how a dataadapter works to use its functionality...kind of like not knowing how the phone system works just trust that it will appropriately send your commands to the appropriate db if you have set it up correctly. Youll learn more and understand more about how they work the more you use them.
From an old post I commented on:
The datareader is a read only forward only object. Fast...but the point of no return is when you say read.
You can interupt it, but you cant go back.
Have to use a dataset for that ability.
Quote from "Coding techniques for Visual Basic.Net" from Microsoft Press by Connell:
"While the DataReader perimits direct, high-performance access to the database, it provides only read-only and forward only access to the data.
The results it returns are not memory resident, and it can access only one record at a time.
While these limitations put less load on the servers memory requirements, you can use the DataReader only to display data."
This isnt a bad thing, since many apps need just this display of data.
If you havent already, create your form with controls that will display the results of our data manipulation. (Dont worry about how we wire them up just yet if you dont know how, well get to that later)
Write your code:
1. Create the dataadapter.
2. Establish and populate your dataset.
Once youve got that done, post the code you generate (wont seem like much) and well work from there.
Jon