As was recommended, you should use .NET MVC instead of webforms, so instead of using <asp:ListBox>, you should use @Html.DropDownList
Learn more about it here:
http://agilewarrior.wordpress.com/2012/12/13/how-to-simple-html-dropdownlistfor-mvc-net/
Your code for the dropdown/listbox would be:
@Html.DropDownList("StudentGender",
new List<SelectListItem>() {
new SelectListItem(){ Text="Male",Value=Student.Classes.Enum.Enum.gender.male.ToString() },
new SelectListItem(){ Text="Female",Value=Student.Classes.Enum.Enum.gender.female.ToString() }
}, new { @class = "input-medium", size="6", multiple="multiple" } )
You can still use ASPX for the render engine in .NET MVC, which in that case you would use:
<%: Html.DropDownList(...) %>
Male. Did you look at the HTML source to see what it looks like?