本文共 367 字,大约阅读时间需要 1 分钟。
<%:Html.DropDownListFor(x => x.ProvinceId, new SelectList((IEnumerable)ViewBag.Provinces, "Id", "Name"), "---请选择省份---")%> <%:Html.DropDownListFor(x => x.CityId, new SelectList((IEnumerable)ViewBag.Cities, "Id", "Name"), "---请选择城市---")%> <%:Html.RadioButtonFor(x => x.Sex, "男")%>男 <%:Html.RadioButtonFor(x => x.Sex, "女")%>女 <%:Html.RadioButtonFor(x => x.Sex, "保密")%>保密转载地址:http://kmzmi.baihongyu.com/