Exemplo n.º 1
0
 void LoadCommitteePost()
 {
     try
     {
         this.ddlCommitteePost.DataSource     = BLLMemberPosition.GetMemberPositionList(null, true);
         this.ddlCommitteePost.DataTextField  = "PositionName";
         this.ddlCommitteePost.DataValueField = "PositionID";
         this.ddlCommitteePost.DataBind();
     }
     catch (Exception ex)
     {
         this.lblStatusMessage.Text = ex.Message;
         this.programmaticModalPopup.Show();
     }
 }
Exemplo n.º 2
0
 void LoadMemberPosition()
 {
     try
     {
         Session["MemberPositionLst"]          = BLLMemberPosition.GetMemberPositionList(null, false);
         this.lstMemberPosition.DataSource     = Session["MemberPositionLst"];
         this.lstMemberPosition.DataTextField  = "PositionName";
         this.lstMemberPosition.DataValueField = "PositionID";
         this.lstMemberPosition.DataBind();
     }
     catch (Exception ex)
     {
         this.lblStatusMessage.Text = ex.Message;
         this.programmaticModalPopup.Show();
     }
 }