/// <summary> /// Function to fill the Controls for updation /// </summary> public void FillControls() { try { RoleInfo infoRole = new RoleInfo(); RoleSP spRole = new RoleSP(); infoRole = spRole.RoleView(decRoleId); txtRole.Text = infoRole.Role; txtNarration.Text = infoRole.Narration; } catch (Exception ex) { formMDI.infoError.ErrorString = "RL:6" + ex.Message; } }
/// <summary> /// Function to fill the Controls for updation /// </summary> public void FillControls() { try { RoleInfo infoRole = new RoleInfo(); RoleSP spRole = new RoleSP(); infoRole = spRole.RoleView(decRoleId); txtRole.Text = infoRole.Role; txtNarration.Text = infoRole.Narration; } catch (Exception ex) { MessageBox.Show("RL:6" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill the Controls for updation /// </summary> public void FillControls() { try { RoleInfo infoRole = new RoleInfo(); RoleSP spRole = new RoleSP(); infoRole = spRole.RoleView(decRoleId); txtRole.Text = infoRole.Role; txtNarration.Text = infoRole.Narration; } catch (Exception ex) { MessageBox.Show("RL:6" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }