Dear Friends,
I want to bind data to a combo box and display it in a drop down list when it runs the application.
In the given below coding I have done coding but there are some problems. Here I have created the dataset and then load the data from data source. After that, I'm trying to bind data to the combo box and display that in the drop down list..... So, that is difficult for me..Hope anybody can help me.........
Thanks in advence.
public
{
scon.Open();
adpt.Fill(LCust,
scon.Close();
}
Lcust = Lcust.ActiveCust();
cboCustCode.DataSource = Lcust;
cboCustCode.DataBind(); // there is no method like this ?????