Live Chat Icon For mobile
Live Chat Icon

How to use a Hyperlink in a DataList

Platform: ASP.NET| Category: DataList

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

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.