Exemplo n.º 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;
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }