温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:网上办公系统源码
当前文件路径:OfficeOnline/CompanyDecision/CD_List2.aspx.cs

1using System; 2
using System.Data; 3
using System.Configuration; 4
using System.Collections; 5
using System.Web; 6
using System.Web.Security; 7
using System.Web.UI; 8
using System.Web.UI.WebControls; 9
using System.Web.UI.WebControls.WebParts; 10
using System.Web.UI.HtmlControls; 11
12
public partial class CompanyDecision_CD_List2 : System.Web.UI.Page 13
{ 14
protected void Page_Load(object sender, EventArgs e) 15
{ 16
if (Session["UserID"] == null || Session["UserLevel"] == null) 17
{ 18
Response.Redirect("~/Error.aspx"); 19
} 20
if (Session["UserLevel"].ToString() != "总经理") 21
{ 22
Response.Redirect("~/Error.aspx"); 23
} 24
} 25
protected void LinkButton1_Command(object sender, CommandEventArgs e) 26
{ 27
Response.Redirect("CD_Confirm.aspx?cdid="+e.CommandArgument); 28
} 29
} 30





}
}