1
DropDownList1.DataSource = GetAllSex();
2
DropDownList1.DataTextField = "name";
3
DropDownList1.DataValueField = "value";
4
DropDownList1.DataBind();
2
3
4