Terry <Te***@discussions.microsoft.com>'s wild thoughts were
released on Mon, 13 Mar 2006 08:15:27 -0800 bearing the
following fruit:
Good morning!
How do I determine which SELECT button was clicked in a GridView?
The multiple SELECT buttons will be used for an application approval process.
Thank you in advance for your support in this matter.
Use SelectedRow
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
GridView1.SelectedIndexChanged
' Get the currently selected row using the SelectedRow
property.
Dim row As GridViewRow = GridView1.SelectedRow
Page.Title = "You selected " & row.Cells(1).Text
End Sub
Jan Hyde (VB MVP)
--
Police arrested two kids yesterday, one was drinking battery acid, the
other was eating fireworks.
They charged one and let the other one off.