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

Please, best databinding to Textboxes practices.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
0
0
US
I am working with a Win Form. K, here's the scoop, I have 15 or so text boxes. (Varies depending on user options.) Some are going to show/collect data from one table, some are going to show/collect data from another table. Right now it works, until I try to load a different set of data. I am loading the two tables into datasets, (one for each table). When I load the new data and dump the dataset to a datagrid I see the new data. When I start navigating through the binding context I see the old data. What gives?
 

are u using DataGrid's DataSource property or SetDataBinding property.



 
I am not using a datagrid for the most part. (Only for debuging.) And the binding works, the first time. It's when I want to load a different set of data into the form that I have trouble.
 

can post the code you have written for binding data to the form?

 
Hi, I'm having exactly the same problem. Did you find a method of solving this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top