private void ClaimApprovalConfig_GetAll() { Business.ClaimManagement.ClaimApprovalConfiguration objClaimApprovalConfiguration = new Business.ClaimManagement.ClaimApprovalConfiguration(); DataTable dt = objClaimApprovalConfiguration.ClaimApprovalConfig_GetAll(new Entity.ClaimManagement.ClaimApprovalConfiguration() { }); gvClaimApprovalConfiguration.DataSource = dt; gvClaimApprovalConfiguration.DataBind(); }
private void ClaimApprovalConfig_GetById() { Business.ClaimManagement.ClaimApprovalConfiguration objClaimApprovalConfiguration = new Business.ClaimManagement.ClaimApprovalConfiguration(); DataTable dt = objClaimApprovalConfiguration.ClaimApprovalConfig_GetAll(new Entity.ClaimManagement.ClaimApprovalConfiguration() { ClaimApprovalConfigurationId = ClaimApprovalConfigurationId }); if (dt.Rows.Count > 0) { ddlRequestorDesignation.SelectedValue = dt.Rows[0]["ClaimDesignationConfigId"].ToString(); ddlApproverDesignation.SelectedValue = dt.Rows[0]["ApproverDesignationId"].ToString(); ddlApprovalLevel.SelectedValue = dt.Rows[0]["ApproverLevel"].ToString(); } }