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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update ADO.net

Status
Not open for further replies.

01310564

Programmer
Joined
Oct 9, 2003
Messages
96
Location
GB
I have managed to desplay data from a table through a dataset into several textboxes but i want any changes to be saved back to the database.

At the moment i have

DataAdapter.Update(dataset)

but it doesn't seem to be working. Am i missing some code or am i totaly on the wrong track.

Cheers,

Hugh
 
You say you have displayed the Text?. Does that also mean you have bound the textboxes to your datasource?. It may help if you provide some sample code, as to how you get the original data, and populate the textboxes.



Sweep
...if it works dont mess with it
 
The textboxes are bound to the data source and are populated from a dataset as follows:

Suppliers.Fill(Supplier_info1, "Suppliers")
all_suppliers.Fill(Supplier_info1, "all_suppliers")

I hope this helps. This problem has really got me.

Cheers,

Hugh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top