ASP.Net MVC 4 how to add a database product list
Posted: Wed 11 Jun 2014 15:16
Does any know a good place to find information on how to get a database working in MVC 4 or 3....
dotConnect - I can get the database in my "Server Explorer" in Visual Studio 2012 Professional, but for some reason can not get a grid view / table view in MVC... (C# ASP.net)
Database : datatest
Table : product
Table cells : prodnames
Using the standard VS2012 - selecting Framework 4, as a "ASP.NET MVC 4 Web Application"
Which creates a : MvcApplication
I did follow the first example, but looking for a way to add in data from a database...
Any help would be great - as building a demo site to compare speeds... And new at MVC - been mostly using this in Objective-C.
Have tried WebForm ASP.Net - and this works great... Just need to configure the MVC to buy dotConnect for MySQL and dbForge STudio for MySQL
Cheers
Simon
dotConnect - I can get the database in my "Server Explorer" in Visual Studio 2012 Professional, but for some reason can not get a grid view / table view in MVC... (C# ASP.net)
Database : datatest
Table : product
Table cells : prodnames
Using the standard VS2012 - selecting Framework 4, as a "ASP.NET MVC 4 Web Application"
Which creates a : MvcApplication
I did follow the first example, but looking for a way to add in data from a database...
Any help would be great - as building a demo site to compare speeds... And new at MVC - been mostly using this in Objective-C.
Have tried WebForm ASP.Net - and this works great... Just need to configure the MVC to buy dotConnect for MySQL and dbForge STudio for MySQL
Cheers
Simon