What tag do you use to add a hyperlink column to the DataGrid?<asp:HyperLinkColumn>
A column type for the DataGrid control that contains a hyperlink for each item in the column.
Example
<asp:DataGrid id="DataGrid1" BorderColor="blue" BorderWidth="1" GridLines="Both" AutoGenerateColumns="false" runat="server">
<HeaderStyle BackColor="#ccc"/>
<Columns>
<asp:HyperLinkColumn HeaderText="Item List" DataNavigateUrlField="IntegerValue" DataNavigateUrlFormatString="detailspage.aspx?id={0}" DataTextField="PriceValue" DataTextFormatString="{0:c}" Target="_blank"/> </Columns> </asp:DataGrid>
|