Hyperlink to another page with data
Hello all,
I was really hoping someone could help me with this problem.
I want to make a datagrid with a Hyperlink colum:
<asp:datagrid id="datagrid1" runat="server">
<columns>
<asp:Hyperlinkcolumn
HeaderText = "Select a Joke"
DataTextField = "Headline"
DataNavigateUrlField = "Blankpage.aspx"
Target = "_blank" />
<columns>
</asp:datagrid>
The hyperlink colum reference a datafield called "Headline". I would like to create this so when a user click a link, they are directed to a blank page.
And this blank page will dynamically display the contents of clicked item which includes the "Headline" and "Story" Datafields of the clicked item.
Can anyone help me with this or put me in the right direction as to I would go about making this.
thanks,
Ray
|