private void GetEffectiveChangeStatus() { try { EmployeeBL obj = new EmployeeBL(); DataTable dt = obj.GetEffectiveChangeStatus(); ddlSelect.DataSource = dt; ddlSelect.DataTextField = "ChangeStatus"; ddlSelect.DataValueField = "ChangeStatusID"; ddlSelect.DataBind(); ddlSelect.Items.Insert(0, new ListItem("ALL", "0")); ddlEditStatus.DataSource = dt; ddlEditStatus.DataTextField = "ChangeStatus"; ddlEditStatus.DataValueField = "ChangeStatusID"; ddlEditStatus.DataBind(); ddlEditStatus.Items.Insert(0, new ListItem("Select", "0")); } catch (Exception ex) { } }