文件:webform1.aspx
页面上加了一个按钮
<asp:Button ID="Button1" runat="server" Text="Button" />文件:webform1.aspx.csusing System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;public partial class webform1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{ } private void Button1_Click(object sender, System.EventArgs e)
{
Response.Redirect("webform2.aspx");
}
}文件webform2.aspx是一个空白页面
为什么点击webform1中的Button页面没有跳转到webform2.aspx这个页面?只是跳转到了webform1.aspx这个页面
我用的是vs2005,系统是xp
页面上加了一个按钮
<asp:Button ID="Button1" runat="server" Text="Button" />文件:webform1.aspx.csusing System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;public partial class webform1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{ } private void Button1_Click(object sender, System.EventArgs e)
{
Response.Redirect("webform2.aspx");
}
}文件webform2.aspx是一个空白页面
为什么点击webform1中的Button页面没有跳转到webform2.aspx这个页面?只是跳转到了webform1.aspx这个页面
我用的是vs2005,系统是xp
解决方案 »
- 转换日期格式的奇怪问题
- 菜鸟求助:页面数据缓存默认多久才会移除更新
- 求一个正则表达式,匹配所有字符
- 一个Jquery做的星星评级控件,现在只是弹窗告诉我选择了几分,但我想把这个分数值获取过来赋值到label
- 天数转换成日期?
- {********}100分{********},初来,散分,再问一问,信誉分,是怎么回事??
- 问第三遍了,高手过来看看吧!就等着这个问题了,一上午了,还是解决不了。。。。
- 发送邮件提示成功,但是邮箱却收不到邮件,这是怎么回事
- Telerik上传控件部分客户端报错。
- ~~~问个菜问题~~~(一定给高分)~~~
- System.NullReferenceException: 未将对象引用设置到对象的实例
- 从DropDownList控件列表框中获取某项显示的文本?
是你的onclick的参数的问题:)