ddl_Customer.Items.Clear(); ddl_Customer.Items.Add(new ListItem("Select", "select")); ddl_Customer.DataSource = objConfigureBAL.Customer_Load(objConfigurePL); ddl_Customer.DataTextField = "C_NAME"; ddl_Customer.DataValueField = "C_CODE"; foreach (ListItem item in ddl_Customer.Items) { //item.Text = "/Customer"; ddl_Customer.DataTextField = "/Customer"; } ddl_Customer.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)