Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         int    USERId = int.Parse(Request.QueryString["USERId"]);
         string DId    = mbll.GetDeptIDfromAdminID(USERId);
         MeetingRepeater.DataSource = mbll.GetDept_MeetingInfo(DId);
         MeetingRepeater.DataBind();
         //MeetingRepeater.DataSource = mbll.GetAllMeetingList();
         //MeetingRepeater.DataBind();
     }
 }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (!IsPostBack)
         {
             string Opera = Request.QueryString["Opera"];
             if (Opera == "Check")
             {
                 string DId = Request.QueryString["DId"];
                 MeetingRepeater.DataSource = mbll.GetDept_MeetingInfo(DId);
                 MeetingRepeater.DataBind();
             }
             else
             {
                 MeetingRepeater.DataSource = mbll.GetAllMeetingList();
                 MeetingRepeater.DataBind();
             }
         }
         //MeetingRepeater.DataSource = mbll.GetAllMeetingList();
         //MeetingRepeater.DataBind();
     }
 }