I've a datagrid (ie:)
NAME AGE GOTOLINK
Pablo 25 go to info --> when you press I want to go to: info.aspx?name=pablo&age=25
jose 45 go to info --> when you press I want to go to: info.aspx?name=jose&age=45
How can I make that kind of link?
(the one who have the name and the age (the two columns of my datagrid).
Thanks!
I've tried the following (inside the datagrid code in the .aspx) but as I bind ONE value of the DB I cant get only one value in my link(not two values)
<asp:HyperLinkColumn Text="Go to Info" DataNavigateUrlField="MyDBColumn" DataNavigateUrlFormatString="view.aspx?name={0}"></asp:HyperLinkColumn>
Thanks in advance!!!