MVC3 We Coming!!----V --视图层
时间:2011-05-24 来源:sofakeer
<pre class="brush: js;">
public ActionResult _GetAddressList(int userID)
{
List<Address> addressList = new List<Address>();
addressList.Add(new Address { id="1"});
addressList.Add(new Address{id="2",UserName="测试1"});
addressList.Add(new Address{id="3",UserName="测试2"});
return PartialView("_GetAddressList", addressList);
}
</pre>
相关阅读 更多 +