Example #1
0
 public void InitPage()
 {
     if (Request.QueryString["merID"] != null)
     {
         int merID = Convert.ToInt32(Request.QueryString["merID"]);
         DAL.OveralManaDAL.MsgManaDAL md = new DAL.OveralManaDAL.MsgManaDAL();
         DAL.OveralManaDAL.AuthMana   at = new DAL.OveralManaDAL.AuthMana();
         int adminID = at.getAdminIDByName(Session["adminUserName"].ToString());
         MessageRpt.DataSource = md.getAdminMsgList(adminID, merID);
         MessageRpt.DataBind();
     }
 }
 public void InitPage()
 {
     DAL.OveralManaDAL.MsgManaDAL ms = new DAL.OveralManaDAL.MsgManaDAL();
     MessageRpt.DataSource = ms.getInformList();
     MessageRpt.DataBind();
 }