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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql upate statement

Status
Not open for further replies.

g2000

Programmer
Aug 31, 2005
39
US
I have a check box in my form

<input type="checkbox" name="chk1" id="chk1" >

When I get its value by
Request.Form("chk1")
I only get either "on" or empty string

How can I do an update to the database?
 
If Request.Form("chk1")="on" then
do something
else
do someotherthing
end if

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top