I have a table called ProjectRegion. It has two columns, an id and a title. I successfully use ActiveRecord to get all the rows. I want to create a drop down list where I assign the id column to the value and the title to the text. I suspect I'll be able to do something like-
ProjectRegion[] projRegion = ProjectRegion.FindAll();
DropDownList1.DataTextField = ???;
DropDownList1.DataValueField = ???;
DropDownList1.DataBind();
But I don't know the syntax?