M
MitchW
Hello,
I have two grid views on a page. Neither are directly bound from a
DataSource, they hold the results from user entered queries. The only
parameter I know that wil exist in the result set is an identity column. On
the 1st gridview I have a select button and I can test for it by using
e.CommandName=="Select". This works, however, I also have defined a
DataKeyName in the gridview, but I can't seem to access it from code. I have
tried GridViewRow row=gvResults.SelectedRow but I think I need the
SelectedValue, but I am lost. Any help would be appreciated.
-mitch
I have two grid views on a page. Neither are directly bound from a
DataSource, they hold the results from user entered queries. The only
parameter I know that wil exist in the result set is an identity column. On
the 1st gridview I have a select button and I can test for it by using
e.CommandName=="Select". This works, however, I also have defined a
DataKeyName in the gridview, but I can't seem to access it from code. I have
tried GridViewRow row=gvResults.SelectedRow but I think I need the
SelectedValue, but I am lost. Any help would be appreciated.
-mitch