从查询字符串传递和检索多个值 [英] passing and retrieving multiple values from query string
本文介绍了从查询字符串传递和检索多个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想传递值NAME1.TEXT并使用查询字符串回复'的值,其中回复可以是是或否。 ..i定义如下
Hello everyone,
I want to pass value NAME1.TEXT and reply''s value with query string,where reply can be either yes or no....i defined it as below
string app = "<a href='http://xyz.com/send_mail.aspx?reply=yes&name=&name1.Text'>Click here</a>";
我是在邮件正文中传递上述字符串 app 。
我尝试了很多,但我没有得到名字的价值作为查询接收时的字符串。怎么做?任何帮助将不胜感激。
关注
I am passing the above string app in mail body.
I tried a lot,but i am not getting name''s value as a query string on receiving. How to do that? Any help would be greatly appreciated.
Regards
推荐答案
string str1 = NAME1.TEXT ;
str += "<a href=http://localhost:2205/leave%20management/Default.aspx?uname=" + str1 + ">open</a>";
查看此链接...
http://stackoverflow.com/questions/13738968/acessing-query-字符串值大于一页c-sharp [ ^ ]
http://codeasp达网络/博客/ Vijjendra /微软网/ 55 /传递查询字符串和检索的-它换一个或更多的超一值合ASPN et [ ^ ]
Check with this links ...
http://stackoverflow.com/questions/13738968/acessing-query-string-values-to-more-than-one-page-in-c-sharp[^]
http://codeasp.net/blogs/Vijjendra/microsoft-net/55/pass-query-string-and-retrieve-it-for-one-or-more-than-one-values-in-aspnet[^]
这篇关于从查询字符串传递和检索多个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文