I have here a code for dropdownlist to present data from the database.
What about the code for textBox? Many thanks!!!Code:DataTable dtCountry = new DataTable(); daCountry.Fill(dtCountry); countryList.DataSource = dtCountry; countryList.DataTextField = "Country"; countryList.DataValueField = "CountryID"; string countryID = clusterList.SelectedValue;




Reply With Quote