Esempio n. 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;
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 3
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);
     }
 }