Exemple #1
0
 /// <summary>
 /// User Creation GridFill
 /// </summary>
 public void GridFill()
 {
     try
     {
         UserSP    spUser            = new UserSP();
         DataTable dtblUserCreation  = new DataTable();
         string    strSearchUserName = txtSearchUserName.Text.Trim();
         string    strSearchRole     = cmbSearchRole.Text;
         dtblUserCreation           = spUser.UserCreationViewForGridFill(strSearchUserName, strSearchRole);
         dgvUserCreation.DataSource = dtblUserCreation;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "UC:7" + ex.Message;
     }
 }
Exemple #2
0
 /// <summary>
 /// User Creation GridFill
 /// </summary>
 public void GridFill()
 {
     try
     {
         UserSP    spUser            = new UserSP();
         DataTable dtblUserCreation  = new DataTable();
         string    strSearchUserName = txtSearchUserName.Text.Trim();
         string    strSearchRole     = cmbSearchRole.Text;
         dtblUserCreation           = spUser.UserCreationViewForGridFill(strSearchUserName, strSearchRole);
         dgvUserCreation.DataSource = dtblUserCreation;
     }
     catch (Exception ex)
     {
         MessageBox.Show("UC:7" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// User Creation GridFill
 /// </summary>
 public void GridFill()
 {
     try
     {
         UserSP spUser = new UserSP();
         DataTable dtblUserCreation = new DataTable();
         string strSearchUserName = txtSearchUserName.Text.Trim();
         string strSearchRole = cmbSearchRole.Text;
         dtblUserCreation = spUser.UserCreationViewForGridFill(strSearchUserName, strSearchRole);
         dgvUserCreation.DataSource = dtblUserCreation;
     }
     catch (Exception ex)
     {
         MessageBox.Show("UC:7" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }