//aspxコード
<asp:DropDownList ID="DropDownList1" runat="server" DataTextField="fullname" DataValueField="username" AutoPostBack="True" Width="125px" Height="22px"></asp:DropDownList>
//コードビハインド
SqlConnection myConnection = new SqlConnection("Server=xyz;Database=db;Uid=db;Pwd=12345");
myConnection.Open();
SqlDataReader myReaderddl = null;
SqlCommand myCommandddl = new SqlCommand("SELECT [username], [fullname] FROM [qa_users]", myConnection);
myReaderddl = myCommandddl.ExecuteReader();
myReaderddl.Read();
ddlrep.DataSource = myReaderddl;
ddlrep.DataValueField = "[username]";
ddlrep.DataTextField = "[fullname]";
ddlrep.DataBind();
myReaderddl.Close();