this is how to populate a dropdown ASP.net 3.5 control with entity spaces in code behind
c#: (Item is tha name of my entity)
ItemCollection i = new ItemCollection();
i.LoadAll();
this.ddlItemType.DataSource = i;
this.ddlItemType.DataTextField = ItemMetadata.PropertyNames.Description;
this.ddlItemType.DataValueField = ItemMetadata.PropertyNames.ItemTypeID;
this.ddlItemType.DataBind(); ListItem li = new ListItem("select one ", "");
this.ddlItemType.Items.Insert(0,li);