コード例 #1
0
 public void Clear()
 {
     TxtUserGroupID.Text  = "";
     TxtUserGroup.Text    = "";
     TxtDescription.Text  = "";
     CboDistribution.Text = "";
     LblMessage.Text      = "";
     DgvGroups.DataSource = null;
     DgvGroups.DataBind();
     loadUserList();
     loadUserGroupList();
 }
コード例 #2
0
 public void loadUserGroupList()
 {
     try
     {
         DataTable dt = objUser.GetAlluserGroups();
         if (dt.Rows.Count > 0)
         {
             DgvGroups.DataSource = dt;
             DgvGroups.DataBind();
         }
     }
     catch (Exception ex)
     {
         LblMessage.Text = ex.Message.ToString();
     }
 }