MasterPage2.master.cs
资源名称:WebSite1.rar [点击查看]
上传用户:vtryaojia
上传日期:2020-04-18
资源大小:1214k
文件大小:1k
源码类别:
SCSI/ASPI
开发平台:
Others
- using 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 MasterPage2 : System.Web.UI.MasterPage
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- if (Session["name"] == null)
- {
- Label1.Text = "用户没有登入或已经退出!";
- }
- else
- {
- Label1.Text = Session["name"] + "欢迎您";
- }
- }
- protected void ImageButton3_Click(object sender, ImageClickEventArgs e)
- {
- }
- }