摘要: HomeController.cspublic JsonResult Getjosn(int pid) { return Json(Area(pid)); } public IEnumerable<HuiyuanInfo> Area(int pid) { return from c in db.HuiyuanInfo where c.ID == pid select c; }Home/Index.aspxfunction GetArea(pid, obj) { $.getJSON("/Home/Getjosn", { pid: pid }, function(d 阅读全文
posted @ 2011-08-17 14:00 蔡剑锋 阅读(816) 评论(0) 推荐(0) 编辑