/// <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; } }
/// <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); } }