|
-
Jan 20th, 2004, 11:10 PM
#1
Thread Starter
Member
Possible problem with data binding?
I have a Windows form for accounts/products. There are three tabs, the first (LIST) has a datagrid with account number and name, the second (EDIT) has text boxes for account data and a datagrid listing products, the third (PRODUCTS) contains textboxes for product data. The account table is bound to the datagrid on the LIST tab and the textboxes on the EDIT tab. The product table is bound to the datagrid on the EDIT tab and textboxes on the PRODUCTS tab. If I am on the PRODUCTS tab adding products, click the EDIT tab, then the PRODUCTS tab again to try adding more products, the new products are no longer going to the table. It's almost like the controls are no longer bound to the table. They don't give any error and the display shows the last product for that account prior to tabbing to EDIT screen. The only coding executed when changing tabs are for enabling/disabling buttons. Hope this all makes sence to somebody. Thanks for any help you can provide.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|