How to add DropDownlist of all users to ListView
<p>I have a ListView control, I want to edit the InsertItem Template to include a Dropdownlist Item which contains a list of users in Membership Directory.</p>

<p>I tried this:</p>

<pre><code>    MembershipUserCollection users = Membership.GetAllUsers();

    assigned_volunteerDropDownBox.DataSource = users;
    assigned_volunteerDropDownBox.DataBind();
</code></pre>

<p>The biggsest issue is that it says <code>assigned_volunteerDropDownBox</code> does not exist in the current context... In fact none of the TextBox items on the insert template are in the current context (is this normal)?</p>

<p>How would I go about doing this?  I want to be able to only allow the row to be updated with valid usernames.</p>

<p>I looked at <a href="http://stackoverflow.com/questions/8906367/how-to-list-all-users-in-active-directory-in-dropdownlist-control">this</a>, but it doesn't actually contain the code to DataBind to the DropDownList item.</p>
