I am trying to populate a drop down list with database results. I have verified that the Results are populated correctly. The fields are id int, and state varchar.
How do I populate the DropDownList with a loaded DataTable?
this.DataSource = Results;
this.DataValueField = "id";
this.DataTextField = "state";
this.DataBind();
Go to the complete details ...