protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { RPT.DataSource = progBll.SelHQDT(AppID, 1); RPT.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { M_UserInfo mu = buser.GetLogin(); DataTable authdt = perBll.SelAuthByRoles(mu.UserRole); RPT.DataSource = progBll.SelHQDT(AppID, 1); RPT.DataBind(); // No_T.Enabled = perBll.CheckAuth(authdt,"oa_pro_no"); } }
public string GetHQInfo(int stepnum) { if (AppID < 1) { return(""); } B_Mis_AppProg progBll = new B_Mis_AppProg(); DataTable dt = progBll.SelHQDT(AppID, stepnum); string result = ""; foreach (DataRow dr in dt.Rows) { result += dr["UserName"] + ":" + dr["Remind"] + "(" + Convert.ToDateTime(dr["CreateTime"]).ToString("yyyy年MM月dd日") + ")<br/>"; } return(result); }