摘要:
比如,当为一个用户设置角色的时候,角色通常以CheckBoxList的形式呈现。用户和角色是多对多关系: using System.Collections.Generic;using System.ComponentModel.DataAnnotations;namespace MvcApplication2.Models{ public class User { pub... 阅读全文
posted @ 2014-06-16 23:49
Darren Ji
阅读(2596)
评论(0)
推荐(1)
摘要:
如果创建如下的XML: darren 创建XML文件在HomeController中,在根目录下创建new.xml文件:public ActionResult Index() { return View(); } [HttpPost] public ActionResult AddXml() ... 阅读全文
posted @ 2014-06-16 01:41
Darren Ji
阅读(1147)
评论(0)
推荐(2)
浙公网安备 33010602011771号