Split the value of the checkbox on ", " (comma + space) and then loop
through them. Something like this :-
myCheckboxValue = request.form("chkMyCheckbox")
if len(trim(myCheckboxValue)) > 0 then
arrValues = split(myCheckboxValue, ", ")
for i = 0 to uBound(arrValues)
sSQL = "INSERT INTO myTable (myField) VALUES (" & arrValues(i) &
");"
objDBConnection.Execute sSQL
next
end if
Dan
________________________________
From: D.Suresh [mailto:[EMAIL PROTECTED]
Sent: 24 February 2005 14:27
To: [email protected]
Subject: [AspClassicAnyQuestionIsOk] Check Box
Hai all iam doing a project,
iam using multiple check box for my project i want to know how to
insert the check box value to the data base.
Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=1295ha93j/M=298184.6018725.7038619.3001176/
D=groups/S=1705006764:HM/EXP=1109341597/A=2593423/R=0/SIG=11el9gslf/*htt
p://www.netflix.com/Default?mqso=60190075>
<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=group
s/S=:HM/A=2593423/rand=485828603>
________________________________
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/