asp.net mvc3 读取数据的问题 5
privateyijiaoEntitiesdb=newyijiaoEntities();publicActionResultIndex(){varmovies=fromm...
private yijiaoEntities db = new yijiaoEntities();
public ActionResult Index()
{
var movies = from m in db.admins
select m;
return View(movies);
}
controller 里的代码
可前端的代码应该怎么加 展开
public ActionResult Index()
{
var movies = from m in db.admins
select m;
return View(movies);
}
controller 里的代码
可前端的代码应该怎么加 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询