获取浏览器网址需要帮助 [英] need help on getting browser url

查看:92
本文介绍了获取浏览器网址需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经开发了Web应用程序,在ASP中



但这里的请求是:

当我在浏览器中输入:






am have developed web application,in ASP

but here is the request is:
when i type in the browser as:


http://www.silicontrace.com/Finance/Transaction.aspx?MID=V0001&&CNUM=0015856886&AMT=XXXXXXX&TOT=08102013223300&UPWD=1234&TT=1



并点击回车。

然后我的应用程序需要在web上响应那个url并收集这些参数并更新到mysql数据库。



i不知道该怎么做。



任何建议。


and hit the enter.
then my application need to respond to that url on web and collect those parameters and update into mysql database .

i don't know what to do.

any suggestions.

推荐答案

检索你正在使用查询字符串传递的值



retrieve the values u are passing using query string like

if (Request.QueryString["MID"] != null)
           {
               string mid = Request.QueryString["MID"];
           }


尝试如下。如下所示,您可以获得所有查询字符串值。



Try is as below.Like as below you can get all your query string values.

var MID = Request.QueryString["MID"] ?? null;

 var CNUM = Request.QueryString["CNUM"] ?? null;


这篇关于获取浏览器网址需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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