TextBox Control Using Datasets and Data Adapters
Wednesday, June 3, 2009 - 12:01
This tutorial is part of Database Programming Made Easy Series.
[inline:textbox control using datasets and data adapters.jpg=TextBox Control using Datasets and Data Adapters]
In this tutorial you'll learn how to retrieve and save data back to the database using Datasets and Data Adapters.
Microsoft Access database and Microsoft SQL Server sample is provided.
Previous: Using Data Readers and ExecuteNonQuery
Download Code::

Comments
Hero
Hero how about PSQL Sever can we connect.
Please write for me
Thank Hero
NONG
re: Hero
Download ODBC Driver for Posgre SQL and change the connection string in the sample code.
help please
I have made an oledb connection b/w mySQL & Visual c++ Windows form in VS 2005 and was successful in displaying the 5 fields of the db created in mySQL.
I used the command this->oledbdataadapter1->(ds,"tablename").
But I'm deep trouble that i cannot procced ie; navigate the form using the buttons created even after trying lot many synatxes.
Will you please help me out with the exact syntax/command by which i can get the navigation of fields done.
The textboxes of these fields have already been correctly mapped to their 'text' field in databinding 'property' of each of them.
Expecting a reply...and moreover I would be thankful to get a personal mail.
bharatnarayanan@gmail.com
regards
Bharat
Little help with search query
Hi there, I know this is quite old but I've been searching for days on how to work visual basic and database, so far this is the best tutorial I've found, I'm new to programming, the only knowledge I know is things I've tried and learnt from tuts.
My question is, How can I write the code so that I can search and retrieve information from the database but using any of the textbox controls I have.
for instance I have 5 rows; costumer name, phone number, account number, msid, fees.
with your code I can input the name and retrieve all the other info, but what if i want to search by phone number? or account number, or even msid?
is it possible? and how?
I tried
Pages
Add new comment