Can we to pass more than one querystring parameter with hyperlink in .aspx file?

 Posted by Bhakti on 11/19/2009 | Category: ASP.NET Interview questions | Views: 7771

Yes we can.
For an example code can be like,

<asp:HyperLink ID="hlClientId" runat="server"                                                 NavigateUrl='<%# "Page.aspx?param1=" & _

DataBinder.Eval(Container.DataItem, "param1") & _
"&param2=" & DataBinder.Eval(Container.DataItem, "param2") %>' >Hyperlink</asp:HyperLink>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response