Example #1
0
 /// <summary>
 /// Function to fill the grid
 /// </summary>
 public void Gridfill()
 {
     try
     {
         DataTable dtbl   = new DataTable();
         RoleSP    spRole = new RoleSP();
         dtbl = spRole.RoleViewGridFill();
         dgvRole.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RL:1" + ex.Message;
     }
 }
Example #2
0
 /// <summary>
 /// Function to fill the grid
 /// </summary>
 public void Gridfill()
 {
     try
     {
         DataTable dtbl = new DataTable();
         RoleSP spRole = new RoleSP();
         dtbl = spRole.RoleViewGridFill();
         dgvRole.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RL:1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Example #3
0
 /// <summary>
 /// Function to fill the grid
 /// </summary>
 public void Gridfill()
 {
     try
     {
         DataTable dtbl   = new DataTable();
         RoleSP    spRole = new RoleSP();
         dtbl = spRole.RoleViewGridFill();
         dgvRole.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RL:1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }