R
Randall Parker
Using ASP.Net v1.1 with C#.
I have an aspataGrid where one column is specified as follows:
<asp:BoundColumn HeaderText="Serial" DataField="owner_serial_num"></asp:BoundColumn>
I might get a serial number of X01 or X02 for example. What I want to do is make that
serial number be a link to a different page like, say,
http://currentURLpath/DetailViewer.aspx&serial="X02"
So the idea is that the X02 row would have a URL for the serial number column which
also embedded in that URL an argument to which detail record to display if the user
clicks on it.
What confuses me is that the asp:BoundColumn is already showing the X02 text that I'd
want to surround with the a href HTML link tag. So do I put the link inside the
asp:BoundColumn or do I tell the BoundColumn tag something that lets me put the link
inside of it?
Any hints on how to do this? I'm an ASP.Net novice and confused.
I have an aspataGrid where one column is specified as follows:
<asp:BoundColumn HeaderText="Serial" DataField="owner_serial_num"></asp:BoundColumn>
I might get a serial number of X01 or X02 for example. What I want to do is make that
serial number be a link to a different page like, say,
http://currentURLpath/DetailViewer.aspx&serial="X02"
So the idea is that the X02 row would have a URL for the serial number column which
also embedded in that URL an argument to which detail record to display if the user
clicks on it.
What confuses me is that the asp:BoundColumn is already showing the X02 text that I'd
want to surround with the a href HTML link tag. So do I put the link inside the
asp:BoundColumn or do I tell the BoundColumn tag something that lets me put the link
inside of it?
Any hints on how to do this? I'm an ASP.Net novice and confused.