ASP.net Mvc与数据库的连接
问题描述:
我已经从网站(Visual Studio和带有mvc2框架的MS sql server 2008)中下载了示例项目.我是MVC的新手,因此需要一些帮助.我拥有所有源文件和sql脚本.我必须在我的本地环境.但是我不知道如何设置,执行和将数据库连接到asp.net mvc.请帮助我...
hi I have download the sample project from the website (Visual studio and MS sql server 2008 with mvc2 framework.I am new to MVC so need some help . I have all the source files and sql scripts. I have to deploy in my local enviroment .But i dont know how to set up ,execute &to connect the database to asp.net mvc.please help me...
答
阅读关于ADO.NET http://msdn.microsoft.com/zh-CN /library/h43ks021(v=vs.71).aspx [ ^ ]
read about ADO.NET http://msdn.microsoft.com/en-us/library/h43ks021(v=vs.71).aspx[^]
如果您是学习者并开始使用MVC,则应使用MVC 4(预览版)或MVC 3.0 .
或者您可以下载MVCMusicStore
-萨加尔·索兰基(Sagar Solanki)
If you are learner and starting with MVC then you should go with MVC 4(Preview) or MVC 3.0.
Or you can download MVCMusicStore
-Sagar Solanki