asp.net - How to Insert checkbox checked text to textbox as 1,2,3 using vb.net? -
possible duplicate:
i have 4 checkboxes , 1 textbox in webform if type in textbox 1,2 checkbox1 & 2 checked !
how insert checkbox checked text textbox 1,2,3 using vb.net ?
i have 3 checkboxes , 1 textbox
when check checkbox 1 , 3 in textbox appear 1,3 ?
i want asp.net (vb) coding !!
check if works in vb.
private sub check1_checkedchanged(byval sender system.object, byval e system.eventargs) handles check1.checkedchanged if (check1.checked) then
textbox1.text = textbox1.text + "1"
end if
end sub
private sub check2_checkedchanged(byval sender system.object, byval e system.eventargs) handles check2.checkedchanged if (check2.checked) textbox1.text = textbox1.text + "2" end if end sub private sub check3_checkedchanged(byval sender system.object, byval e system.eventargs) handles check3.checkedchanged if (check3.checked) textbox1.text = textbox1.text + "3" end if end sub
Comments
Post a Comment