Problem: I have a Windows Form with a TabControl. The TabControl has 2 tabpages. I put a TextBox1 and a button on TabPage1 and a TextBox2 on TabPage2. TextBox2's Text property is bound to a MS Access DB Table. When I run the form, it initializes at TabPage1. I have coded the button_click event to set TextBox1.Text = TextBox2.Text. The result is that TextBox1.Text is set to nothing. If I change to TabPage2 and back to TabPage1 and then click the button, TextBox1.Text is set to the value of TextBox2.Text. Does anyone know why I can't see the value of TextBox2.Text until I click over to TabPage2 and back again? (If I have the same scenario, except that TextBox2's Text property is not bound to a DB but rather assigned a value in my code, the problem does not exist.)
Thanks!!!
Thanks!!!