获取表单标签中的查询字符串值 [英] Get Query String Value in Form Tag

查看:77
本文介绍了获取表单标签中的查询字符串值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在asp.net的表单标签中检索查询字符串值,因为我使用了Paypal代码,在其中重定向并从页面的正文部分标签中进行检查.

i want to retrive the query string value in form tag of asp.net because i used the paypal code in which it redirect and check from the body part tag from the page.

<form method="post" action= "https://www.paypal.com/cgi-bin/webscr">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="my@email.com">
    <input type="hidden" name="item_name" value="Item name">
    <input type="hidden" name="item_number" value="1234"> // use query string here to get value from the other page
    <input type="submit" value="Buy Now">
</form>



所以我想在值字段中使用查询字符串,其中查询字符串是来自其他页面的值.
请帮忙..
Mitesh



so i want to use query string in value field in which query string is value from the come from the other page.
please help..
Mitesh

推荐答案

您好,

我想这一定是您要寻找的东西:
http://www.dotnetperls.com/querystring [
Hi there,

I think this must be what you''re looking for:
http://www.dotnetperls.com/querystring[^]

Hope this helps,
Ed


这篇关于获取表单标签中的查询字符串值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆