View Single Post
  #2 (permalink)  
Old 01-06-2009, 12:22 PM
MattP MattP is offline
VB.NET Forum Idol
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Feb 2008
Location: USA
Posts: 877
Reputation: 499
MattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond repute
Default

Loop through the rows

Code:
For Each row as GridViewRow In GridView1.Rows
Find the checkbox in the row

Code:
Dim cbx As CheckBox = GridView1.FindControl("CheckBox1")
Check if the CheckBox is checked and then do something with it.

Code:
If cbx.Checked Then...
Reply With Quote