private void FillEmpLeaveProfile() { dtELLeave = objLeaveMgr.SelectLeaveType(1); grEmpList.DataSource = objLeaveMgr.SelectEmpTypeWSLeaveProfile(ddlEmpType.SelectedValue.ToString(), ddlLeaveType.SelectedValue.ToString()); grEmpList.DataBind(); dtELLeave.Rows.Clear(); dtELLeave.Dispose(); this.FormatLeaveStatusGridNumber(ddlEmpType.SelectedValue.ToString(), ddlLeaveType.SelectedValue.ToString()); }