How to pass the DataBind value of checkBoxList to Next Page?
Regards,
Arun.M.D
My problem is ..........
I want to display the Registered users from a table and also i use that
user data to modify or delete also.
1) I like to display user details by using datalist.
=====> I displayed this details by using data list coding. The listed
value would be like this
Select UserName UserType
[checkBox] [U.Name] [U.Type]
This will be shown Perfectly.
Now i Would Like to Modify User Details........By use of checkbox
selection.
Problem ::: When i click checkboxes all checkboxes are selected. and
also How to pass checkBox dataFieldValue to Next Page??
My Coding::::
myradio.DataSource = ds.Tables("Adm_Super_LoginMaster")
myradio.DataBind()
<asp:RadioButtonList Runat="server" ID="myradio" DataTextField="Adm_id"
DataValueField="Adm_id">
<asp:ListItem></asp:ListItem>
</asp:RadioButtonList>
Please Help me to solve this Problem........
<asp:TemplateColumn>
<ItemStyle Width="1%"></ItemStyle>
<ItemTemplate>
<asp:CheckBox id="chkTemplate" runat="server"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
In the C# or VB.Net u check this
For iCount = 0 To Grid.Items.Count - 1
If CType(iGrid.Items(iCount).FindControl("chkTemplate"),
CheckBox).Checked Then
// Your code goes here
end if
Next
Hope this helps.
Regards
Thread