Re: ASP.NET Data Controls Hi
I have it working now but I get an email sent for EACH row that has the check box ticked.
But What I want is only an email to be sent on update of the current row in edit mode.
So I need to remove the syntax that references "for each row".
Which bits do I remove inorder to just send email for the current row that is in edit mode.
thx
My working code is
Dim r As GridViewRow
For Each r In GridView1.Rows
Dim VarHRApproved As CheckBox = CType(r.Cells(0).Controls(0), CheckBox)
If VarHRApproved.Checked = True Then
__________________ H2O
Without us, no one can survive.. |