protected void LinkButton1_Click(object sender, EventArgs e)
{
string url = "InfoShow.aspx";
Response.Redirect(url);
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
string url = "InfoShow.aspx";
Response.Redirect(url);
}//當(dāng)然我們可以在頁面跳轉(zhuǎn)的時候進(jìn)行參數(shù)傳遞,代碼如下:
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
{
string url, s;
s = e.Item.Value.ToString();
url = "InfoRelease.aspx?UserName=" + s.Trim();
Response.Redirect(url);
}
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
{
string url, s;
s = e.Item.Value.ToString();
url = "InfoRelease.aspx?UserName=" + s.Trim();
Response.Redirect(url);
}
protected void Page_Load(object sender, EventArgs e)
{
if (Request["UserName"] != null)
{
string s = Request["UserName"].ToString();
// form1.Visible = true;
txtInfoclass.Text = s;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (Request["UserName"] != null)
{
string s = Request["UserName"].ToString();
// form1.Visible = true;
txtInfoclass.Text = s;
}
}
protected void Page_Load(object sender, EventArgs e)
{
txtAlert.Text = "";
if (Request["UserName"] != null)
{
string s = Request["UserName"].ToString();
// form1.Visible = true;
txtInfoclass.Text = s;
}
}
protected void Page_Load(object sender, EventArgs e)
{
txtAlert.Text = "";
if (Request["UserName"] != null)
{
string s = Request["UserName"].ToString();
// form1.Visible = true;
txtInfoclass.Text = s;
}
}