protected void BindSchemeDividendTypes(int schemeId) { DataTable dtSchemeDividendOption = commonLookupBo.GetMFSchemeDividentType(schemeId); ddlSwitchDvdnType.Items.Clear(); if (dtSchemeDividendOption.Rows.Count > 0) { ddlSwitchDvdnType.DataSource = dtSchemeDividendOption; ddlSwitchDvdnType.DataValueField = dtSchemeDividendOption.Columns["PSLV_LookupValueCode"].ToString(); ddlSwitchDvdnType.DataTextField = dtSchemeDividendOption.Columns["PSLV_LookupValue"].ToString(); ddlSwitchDvdnType.DataBind(); ddlSwitchDvdnType.Items.Insert(0, new ListItem("--SELECT--", "0")); } }