Re: can this be done?
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Mar 2006 22:27:09 -0000
"CsharpGuy" <CsharpGuy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0B33DA23-1EAD-4731-B2F2-C8F9E4E8F79B@xxxxxxxxxxxxxxxx
on my web form I have a checkbox for the user to check or not. How can I
pass
the value of the checkbox to my business layer to execute the correct SQL
statement?
I need to run seperate sql queries based on if the checkbox is checked on
my
web form or not. So is it possible to pass the checkbox value to my
datalayer
class?
I'm not exactly certain what your problem is... An <asp:CheckBox> control
has a boolean Checked property - interrogate that when the page is posted
back, and branch your code accordingly.
.
- Follow-Ups:
- Re: can this be done?
- From: Darren Kopp
- Re: can this be done?
- Prev by Date: Re: ASCII Code
- Next by Date: Re: Pass variable to another page
- Previous by thread: Precompiling for deploying
- Next by thread: Re: can this be done?
- Index(es):