protected void BindSwitchScheme(int amcCode, string category, int customerId, char switchType, char txnType, int schemePlanCode) { ddlSchemeName.Items.Clear(); DataTable dtScheme = new DataTable(); dtScheme = commonLookupBo.GetSwitchAmcSchemeList(amcCode, category, customerId, switchType, txnType, schemePlanCode); if (dtScheme.Rows.Count > 0) { ddlSchemeName.DataSource = dtScheme; ddlSchemeName.DataValueField = dtScheme.Columns["PASP_SchemePlanCode"].ToString(); ddlSchemeName.DataTextField = dtScheme.Columns["PASP_SchemePlanName"].ToString(); ddlSchemeName.DataBind(); ddlSchemeName.Items.Insert(0, new ListItem("Select", "0")); } }