"microsoft.public.dotnet.languages.vb" <ma******@hotmail.comwrote in
message news:11**********************@h48g2000cwc.googlegr oups.com...
Hi All,
I need to assciate two varaibles dyanmically in value of the checkbox.
How can I do that?
For ex., I have the following:
<td><input type='checkbox' name='chk<%=i%>' value='<%=rs("Field1")%>'>
Above, I need to add second fields value from database in value
property of the checkbox.
It's not clear what you want. On the face of it you want the one check box
to have two values. That doesn't make sense. Either the value of the check
box is bound to Field1 or Field2 but it can represent both (unless there are
always the same value in which case just show one and assing both when the
form is posted).
I will highly appreciate your help.
Thanks a million in advance.
best regards,
mamun