here it is |
| santhosh kapa replied to santosh kumar at 08-May-08 11:29 |
check this for creating a hyperlink column and after doing this, you can write the logic to display the number and other stuff in the respective page..
<asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" AutoGenerateColumns="False"> <FooterStyle BackColor="#C6C3C6" ForeColor="Black" /> <RowStyle BackColor="#DEDFDE" ForeColor="Black" /> <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" /> <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" /> <Columns> <asp:BoundField DataField="CategoryID" /> <asp:HyperLinkField DataNavigateUrlFields="CategoryID" DataNavigateUrlFormatString="SmallWindow.aspx?id={0}" DataTextField="CategoryName" NavigateUrl="SmallWindow.aspx" /> <asp:BoundField DataField="Description" /> </Columns> </asp:GridView> |
|