0
Reply

problem with tabpages

Dorothy

Dorothy

Feb 21 2007 4:31 AM
1.6k

I have a win application that uses tabcontrol with two tabPages(tp1 & tp2). On the first tab page the user enters the product category name and that it's added to the tblCategory in the database. On the second page the user must select the category from the drop down then add products to the tblProducts.

My problem is that when a user enters a category at tp1 that is added to the database correctly, however when they move to tp2 to add the product, the category that was just added on tp1 is not available immediately, i.e i must first close and start the application first before it appears. How can i make the category available immediately on tp2?