|
It is currently Fri Jan 09, 2009 10:56 am
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 1 post ] |
|
| Author |
Message |
|
frmsasp
|
Post subject: Is anybody tell me how to iterate <asp:Checkbox> array Posted: Sat Oct 08, 2005 5:01 am |
|
Joined: Sat Sep 03, 2005 8:02 am Posts: 8
|
|
Dear Friend,
Is anybody tell me how to iterate <asp:Checkbox> array loop.
e.g. in PHP
<INPUT TYPE="CHECKBOX" NAME="CHK[]">
I am using foreach loop.
Will you pl guide me for below ASP.Net with C# code.
While (daDetail.Read())
{
lblLabel.Text += "<input type='checkbox' name='chk[" + daDetail["Module_id"] + i.ToString() + "]' value='A'>Add
}
This will create multiple checkbox. Now I want to know that how to get value of selected checkbox ?
Thanking You,
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|