Loading ...

Passing multiple query string params from datalist hyperlink column | CodeAsp.Net

Passing multiple query string params from datalist hyperlink column

 /5
0 (0votes)

 

I have faced problem while passing the multiple querysring parameters from the hyperlink column of datalist.I have spend time for this and ultimately I have found right one.

So i would like describe that how it can possible:

<asp:DataList ID="dlst1" runat="server" > 

<ItemTemplate>

<a Href='<%#"page1.aspx?first="  + Eval("First") +  "& second="  + Eval("Second")%>' >View</a>

 </ItemTemplate>                
</asp:DataList>

So this will give the querystring as: page1.aspx?first=69 & second=75

 

Hope this will help

Comments (no comments yet)

Top Posts