让.net的页面在另一页显示结果 可以用转向,也可以用form的action,但不能用服务器控件了。参见http://dotnet.aspx.cc/的搜索 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我也想知道,目前我还在用session做了(记录key然后转向),不知道有什么更好的办法吗 提交时调这个函数,第二个页面用Request.Form[name]得到条件的值function forsubmit(){ Form1.action="first.aspx"; Form1.method="get" Form1.removeChild(document.all("__VIEWSTATE")); Form1.removeChild(document.all("__REQUESTDIGEST")); Form1.submit(); } http://community.csdn.net/Expert/topic/3130/3130103.xml?temp=.1398584 用客户端脚本实现将Form的action改变document.forms[0].action="page2.aspx"document.forms[0].submit();或者就使用url后面跟参数,更适合搜索这种情况window.location.href="page2.aspx?param1=****¶m2=***** 如何将ListBox中内容写入MySQL数据库?请帮忙分析下代码 如何快速找到网页中某个js函数所在的js文件? DataList 绑定的数据无法显示 asp.net的母板页的问题 [新手]求建议 又是时间转换的问题 activeReport的label控件的问题 怎么上传和打开图片?数据库保存的是图片的二进制类类型? datagrid的编辑问题 如何让IFRAME自适应链入页面的大小? repeater中的<ItemTemplate>中的label如何用类中的函数?? ◎◎◎◎大家来讨论一下【换页问题】--在线等待~
function forsubmit()
{
Form1.action="first.aspx";
Form1.method="get"
Form1.removeChild(document.all("__VIEWSTATE"));
Form1.removeChild(document.all("__REQUESTDIGEST"));
Form1.submit();
}
将Form的action改变document.forms[0].action="page2.aspx"
document.forms[0].submit();或者就使用url后面跟参数,更适合搜索这种情况
window.location.href="page2.aspx?param1=****¶m2=*****