首先,你在page1中必须有一个name为dd的input
你可以在按钮的onclick事件中写这个函数
function btnClick()
{
YourForm.action="page2.aspx";
YourForm.submit();
}
其中yourform为你的form的id
你可以在按钮的onclick事件中写这个函数
function btnClick()
{
YourForm.action="page2.aspx";
YourForm.submit();
}
其中yourform为你的form的id
解决方案 »
- 年、月和日参数描述无法表示的 DateTime
- Repeater1.Items[0].FindControl("TextBox1") as TextBox没有值
- 在asp.net网站的服务端,如何运行socket服务端?
- 关于IsPostBack返回值的问题
- 简单的递归算法
- 求一个限制字节的正则表达式!!!
- 请问在gridview的rowcommand中执行了数据删除操作,怎么gridview中的数据不能从新绑定呢?
- img 能响应鼠标事件吗?
- DataGrid中怎样给HyperLink列添加一个点击事件?并且取得当前点击格子中的内容 多谢!!!
- asp.net 将用户浏览的单前页面保存到一个静态页面 不用另存为
- 如何处理序号列在分页后仍旧从1开始的问题以及如何用LinkButton提交到下一页?
- 如何实现简繁转化?
能行吗?
function btnClick()
{
Page.RegisterStartupScript("aa", "<script> window.open('page2.aspx?dd=" & textbox1.Text & "','trans','') </script>")
}
其中textbox1为你的文本框的id