Author: McTwisp | Posted on: 6/4/2010 3:23:15 AM | Views : 284

I have a question about hyperlinks, if I use the code below, how do I create that page where the link refers to? Do I include the product id in the filename if I create anothe web form?


<asp:DataList id="DataList1" runat="server">

<ItemTemplate>

<asp:HyperLink Runat =server NavigateUrl ='<%#"webform1.aspx?id=" + DataBinder.Eval(Container.DataItem, "productid").ToString()%>' ID="Hyperlink1">

<%#DataBinder.Eval(Container.DataItem, "ProductName")%>

</asp:HyperLink>

</ItemTemplate>

</asp:DataList>






...

Go to the complete details ...