Dynamic pages in asp.net

Nov 2 2014 8:02 AM
Hi,
 
I want to generate dynamic pages in asp.net . but i dun't know how to pass link id to asp.cs file. 
here is my code to pass value
<asp:HyperLink runat="server" ID="hl" NavigateUrl='<%#"Home.aspx?Newsid="+ Eval("ID") %>' Text='<%# Eval("CategoryName") %>'></asp:HyperLink>
 i want to get Newsid value but how?? 

Answers (1)