锚标签中的查询字符串 [英] query string in anchor tab
本文介绍了锚标签中的查询字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< href =Bill.aspx?billid =<%#Eval(billid =)%>&sponserid =<%#Eval(sponserid =)%> style =text-decoration:none> print
请以正确的格式执行我必须传递2个查询字符串值..
< href="Bill.aspx?billid=<%#Eval(" billid=")%> & sponserid=<%#Eval(" sponserid=")%>" style="text-decoration:none">print
please do it in correct format i have to pass 2 query string values ..
推荐答案
将查询字符串值保存在两个不同的隐藏字段中,然后在服务器标记中传递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
这篇关于锚标签中的查询字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文