Here's an example.
Was there anything specific you were looking to see?
protected void Page_Init(object sender, EventArgs e)
{
DropdownList.DataSource=GetData();
DropdownList.DataTextField="TextColumn";
DropdownList.DataValueField="ValueColumn";
DropdownList.DataBind();
}