且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

锚标签中的查询字符串

更新时间:2022-06-06 00:33:45





将查询字符串值保存在两个不同的隐藏字段中,然后在服务器标记中传递hiddenfield值,如下所示:



Hi,

Keep your query string value in two different hiddenfields and then pass the hiddenfield values in the server tag like the folowing:

< href="Bill.aspx?billid=<%#Eval(" hiddenfield1")%> & sponserid=<%#Eval(" hiddenfield2")%>" style="text-decoration:none">print





谢谢



Thanks