rskshiva
01-08-2005, 02:10 AM
Hello everybody,
I need to include checkbox arra in vb.net as visual basic.
I had declared them as below.
<TD><input id="chkPriv[]" type="checkbox" value="1" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="2" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="3" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="4" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="4" runat="server"></TD>
But i am not able to access the below values
1. chkPriv.length
2. chkPriv[1].value
I don't know any other way to include and access them.
It is urgent and kindly suggest.
Regards,
Siva R
mail: siva@angleritech.com
I need to include checkbox arra in vb.net as visual basic.
I had declared them as below.
<TD><input id="chkPriv[]" type="checkbox" value="1" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="2" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="3" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="4" runat="server"></TD>
<TD><input id="chkPriv[]" type="checkbox" value="4" runat="server"></TD>
But i am not able to access the below values
1. chkPriv.length
2. chkPriv[1].value
I don't know any other way to include and access them.
It is urgent and kindly suggest.
Regards,
Siva R
mail: siva@angleritech.com