110,552
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Web;
namespace 实验项目
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string id = System.Web.HttpContext.Current.Request.QueryString["name"];
string website = System.Web.HttpContext.Current.Request.QueryString["website"];
System.Web.HttpContext.Current.Response.Write(id + "< br>" + website);
System.Web.HttpContext.Current.Response.Write("你使用的是" + System.Web.HttpContext.Current.Request.RequestType + "方式传送数据");
}
}
}