User Profile
Collapse
-
Thank you for your help. I just figured it out. Once I put the checkbox if loop into a if Page.ispostback everything went through and updated as needed. You pointed me in the right direction and I really glad that there are people out there that help us that need it. Thanks again. -
Thank you for your help. I pasted the incorrect code after looking at your response and I had the correct findcontrol name. I have entered what you have supplied and when I run the page it bypasses the following lines:
Code:If cb IsNot Nothing AndAlso cb.Checked Then selectedRowText.Append("row: ") selectedRowText.Append(index.ToString) selectedRowText.Append("<br />") End If
Leave a comment:
-
Unable to selected checkbox
I am unable to update table when the users clicks on the register button. My code is listed below.
vb:
Code:Dim retstruct As RegisterCourseInfo Dim uN As String For Each row As GridViewRow In GridView1.Rows Dim cb As CheckBox = CType(GridView1.FindControl("ChkSelect"), CheckBox) If cb IsNot Nothing AndAlso cb.Checked Then
No activity results to display
Show More
Leave a comment: