ListBox.DataSource=dr; ListBox.DataTextField="UserName"; ListBox.DataValueField="UserID"; ListBox.DataBind(); dr.Close();