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!

Visible="False" problem

Status
Not open for further replies.

w33mhz

MIS
May 22, 2007
529
US
I have a form with some text boxes that will insert a new record into a SQL Database table with the info in the textboxes. My problem is that I have a text box that I put as Visible="False" and the text gets updated depending on a value selected from a drop down. Now when I debug it and look at the values they are correct but when the insert happens it doesn't insert the row with the correct value from that text box. Ok so now if I change it to Visible="True", it works correctly. All I change is the visible properties.
 
If you don't want the text box visible at anytime then use a variable to store the value in memory and insert into the db.

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
But it was working and now it doesn't work any more.
 
You might post your code.

-I hate Microsoft!
-Forever and always forward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top