WEB技术论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ASP asp.net php
查看: 367|回复: 0
打印 上一主题 下一主题

asp.net 组装好的html表单提交格式

[复制链接]

534

主题

541

帖子

2044

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2044
跳转到指定楼层
楼主
发表于 2018-1-7 17:57:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
HttpContext.Current.Response.Write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">");
HttpContext.Current.Response.Write("<html>");
HttpContext.Current.Response.Write("<head>");
HttpContext.Current.Response.Write("<title>......</title>");
HttpContext.Current.Response.Write("</head>");
HttpContext.Current.Response.Write("<body onload=\"document.OKPAY.submit()\">");
HttpContext.Current.Response.Write("<form name='OKPAY' action='" + str + "' method='POST' target=\"_self\">");
HttpContext.Current.Response.Write("<input type='hidden' name='mlxtsystem' value='True'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_UserId' value='" + text9 + "'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_BankId' value='" + text13 + "'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_OrderId' value='" + text11 + "'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_Money' value='" + text12 + "'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_PostKey' value='" + str4 + "'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_Notify_URL' value='" + str3 + "'>");
HttpContext.Current.Response.Write("<input type='hidden' name='P_Result_url' value='" + str2 + "'>"); HttpContext.Current.Response.Write("</form>");
HttpContext.Current.Response.Write("正在跳转至银页面,请等待...");
HttpContext.Current.Response.Write("</body></html>");
爱仿站的中年人
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

|手机版|码农集营 ( ) 深圳龙岗交友群

GMT+8, 2018-11-7 19:15 , Processed in 0.138443 second(s), 23 queries .

Powered by 码农集营 X3.4

快速回复 返回顶部 返回列表