JustWondering
Technical User
Hi,
I have an SQL update based on the value of the checkboxes:
But I couldn't get the value of the checkboxes. I always update with checkbox's value = 0.
Here is my checkboxes
I guess I'm missing the code to capture the value of the checkboxes. Someone please help!
I have an SQL update based on the value of the checkboxes:
Code:
SQL="Update Table Set Status = " & CInt(Request("chkStatus")) & " Where ID = " & IntID
But I couldn't get the value of the checkboxes. I always update with checkbox's value = 0.
Here is my checkboxes
Code:
<%Do While NOT RsData.EOF%>
<tr><td>Status<input type="checkbox" name="chkStatus" value="<%Rs("Status")%>">
<%RsData.MoveNext
Loop%>
I guess I'm missing the code to capture the value of the checkboxes. Someone please help!