asp.net 不同网页之间的传数据 网页中出现超链接,href=新闻页.aspx?newname={0},?前面的为处理程序URL,?后面的为参数你在一般处理程序中string newname = context.Request["newname"];//newname为网页传来的参数处理newname即可。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 发送页:protected void btnLogin_Click(object sender, EventArgs e) { Session["name"]= this.textBox1.Text; Server.Transfer("~/Admin/Index.aspx"); 或者//Response.Redirect("~/Admin/Index.aspx"); }接受页: protected void Page_Load(object sender, EventArgs e) { this.textBox1.Text=(string)Session["name"];} ServerVersion = “cn.ServerVersion”引发了“System.InvalidOperationException”类型的异常 急 !!! 关于模态窗口问题 被难住了 vs2005中creat new website 中模板没有了 如何写一个js让它每各1秒的去检查一个客户端object对象的某个属性. 如何抓数据? 网页跳转中的问题 提个奇怪的问题!!高手过来看看!! 关于htmlinputfile上传文件的问题 我怎么获取dataset中某表的某列的值? 使用<input type="file">上传文件出错,求解 新手求助 get 错误
{
Session["name"]= this.textBox1.Text;
Server.Transfer("~/Admin/Index.aspx");
或者//Response.Redirect("~/Admin/Index.aspx");
}
接受页: protected void Page_Load(object sender, EventArgs e)
{
this.textBox1.Text=(string)Session["name"];
}