将数据库中的表中的数据显示到ASP.net mvc 4 Web应用程序 [英] Display data from a table in a database to an ASP.net mvc 4 Web application

查看:79
本文介绍了将数据库中的表中的数据显示到ASP.net mvc 4 Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是ASP.Net MVC 4的新手。

我需要在网格 - 或webgrid或web应用程序的页面中显示列及其数据。我应该通过Asp.net MVC 4,Visual Studio 2012实现该应用程序。



任何帮助或来源指导我?



Env。

SQL server 2012

Visual Studio 2012

I am really new in ASP.Net MVC 4.
I need to Display columns and their data in a grid -or webgrid or what- in a page of web application. I should implement the application by Asp.net MVC 4, Visual Studio 2012.

Any help or source to guide me?

Env.
SQL server 2012
Visual Studio 2012

推荐答案

此链接将指导你

http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-数据模型 - 用于asp-net-mvc-application [ ^ ]



希望这有助于
This link will guide you
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application[^]

Hope this helps


第1部分:概述和文件 - > gt;新项目| ASP.NET站点 [ ^ ]


这篇关于将数据库中的表中的数据显示到ASP.net mvc 4 Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆