By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,101 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,101 IT Pros & Developers. It's quick & easy.

databound checkbox control

P: 1
i have a checkbox and many text boxes in an update panel. I also have an update button on the form. I want to be able to create an if statement in the vb code that allows me to say something like:

if checkbox1 = true then textbox1 = "cool"

but the problem i get is that it says checkbox1 is undeclared.
any ideas here?
Apr 2 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,017
Try this:

[PHP]if checkbox1.value = 1 then textbox1 = "cool"[/PHP]
Apr 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.