I have a Datagrid that is working fine displying my records, but I'm
trying to program buttons
on each record line to launch another web page that shows all the
details for the product:
<asp:datagrid id="dgProducts " runat="server">
<asp:ButtonColu mn Text="Details" CommandName="De tails"
ButtonType="Pus hButton"></asp:ButtonColum n>
</asp:datagrid>
Should I go to my code-behind to do something like this?:
Sub detailsClicked( ByVal sender As Object, ByVal e As
DataGridCommand EventArgs)
Response.Redire ct("www.mysite. com\details.asp x")
End Sub
If so how can I pass the chosen record's key information into the new
page to pickup the details?
trying to program buttons
on each record line to launch another web page that shows all the
details for the product:
<asp:datagrid id="dgProducts " runat="server">
<asp:ButtonColu mn Text="Details" CommandName="De tails"
ButtonType="Pus hButton"></asp:ButtonColum n>
</asp:datagrid>
Should I go to my code-behind to do something like this?:
Sub detailsClicked( ByVal sender As Object, ByVal e As
DataGridCommand EventArgs)
Response.Redire ct("www.mysite. com\details.asp x")
End Sub
If so how can I pass the chosen record's key information into the new
page to pickup the details?
Comment