View Single Post
  #72 (permalink)  
Old 08-28-2007, 04:48 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 350
Venkat is on a distinguished road
Thumbs up Re: ASP.NET Data Controls

hi,

Use the GridView.RowUpdating event instead and do something like this:
Protected Sub GridView1_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles GridView1.RowUpdating
Dim gvr As GridViewRow = GridView1.Rows(e.RowIndex)

Dim chk As CheckBox = CType(gvr.Cells(2).Controls(0), CheckBox)

If chk.Checked Then
'Create email message
End If
End Sub
__________________
Venkat
knowledge is Power
Reply With Quote