I have gridview that lists a column of hyperlinked names. A procedure is passed to get the data for the gridview. I am also pulling an ID to use once the name is clicked. Once clicked the ID is used in another procedure to populate a formview. I am having a problem getting the ID to be associated to each hyperlink name in the column and figuring out how I am going to grab the ID from the asp:hyperlinkfield and then assigning it a variable to use elsewhere. Any ideas? Right now I trying to create a datarow with a new attribute.
Protected Sub grdvSearchlist_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles grdvSearchlist.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
Dim dvr As Data.DataRowView
Dim dataItem As Data.DataRowView = e.Row.DataItem
dvr = dataItem
View Complete Post