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

Textboxes and datasets

Status
Not open for further replies.
Nov 19, 2003
117
US
How do i push changes from a set of textboxes to my dataset? I understand how to do a stored procedure and grab the data from my sqlserver and set the textboxes equal to the data value. Now for my update, i need to be able to see that the dataset has changes but right now only my textboxes reflect the change, so how do i push the changes to the Dataset.

Sincerely.
Michael Fritts
 
MFritts253,

I take it then that you have not bound your textboxes to the dataset. That is the easiest way to get changes pushed through into the dataset.

Brian
 
Thanks Brian,
Just wondering if you had any tips on how to bind them.

Sincerely,
Michael
 
Michael,

Here is the code to cind your textboxes to the dataset

textbox1.databindings.add("Text", dataset, "columnname")


Hope this helps,

Brian
 
thanks brian,
i got something to work, not sure how but it does.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top