emaduddeen
Well-known member
- Joined
- May 5, 2010
- Messages
- 171
- Location
- Lowell, MA & Occasionally Indonesia
- Programming Experience
- Beginner
Hi Everyone,
I have seen that there are so many ways to get data from a database onto a form such as a DadatReader, DataSets, DataAdapters, Binding data to the TextBoxes etc.
Can you tell me the best way to do this because the more I read the more confused I get on not knowing the best way to go about it?
I'm trying to find a go-between ease of coding and efficency in getting the data into my TextBoxes, DataGrids, etc.
For example is using a DataReader better then binding to the TextBoxes? Is binding to the TextBoxes better than manually taking the data in the TextBoxes and loading them into a command object and updating the database?
Could you also tell me which condition is best suited for a particular technique?
If you know of the best way, could you direct me to a sample application from this forum or uplead one so I can learn the techniques from the application?
Thanks.
Truly,
Emad
I have seen that there are so many ways to get data from a database onto a form such as a DadatReader, DataSets, DataAdapters, Binding data to the TextBoxes etc.
Can you tell me the best way to do this because the more I read the more confused I get on not knowing the best way to go about it?
I'm trying to find a go-between ease of coding and efficency in getting the data into my TextBoxes, DataGrids, etc.
For example is using a DataReader better then binding to the TextBoxes? Is binding to the TextBoxes better than manually taking the data in the TextBoxes and loading them into a command object and updating the database?
Could you also tell me which condition is best suited for a particular technique?
If you know of the best way, could you direct me to a sample application from this forum or uplead one so I can learn the techniques from the application?
Thanks.
Truly,
Emad