Download ASP.NET MVC 4: insert, edit, update, delete with sql server using csharp (c#) | Coding Cluster - using, c#, mvc 4, iphone, php, ios, javascript, in mvc 3 & more

Download ASP.NET MVC 4: insert, edit, update, delete with sql server using csharp (c#)


Select, Insert, Update And Delete With ASP.NET MVC 4 and SQL server database using C#:
                                         In one of my previous article I'm explained how to create a sample project with mvc 4?. In this article we look at how to do insert, edit, update, delete with  sql server database using csharp.

Getting Started with MVC4 wep application with sql server databas:
                           Here you can only download a sample mvc 4 project with sql server. And all the other steps like create models, controllers, views, insert, update, delete etc.. you can find Rick Anderson's article from .
I think this is a best tutorial for your first mvc 4 project.

 I'm created the above project just followed by Rick Anderson' articles.

Issue with Connection string in mvc 4:
  If you face any problem with your default connection string (when change the data storage from .mdf to sql server). You just change your connection string with the following format.

code to resolve database connection string problems in mvc 4:

 <add name="MovieDBContext" connectionString="data source=localhost;uid=sa;pwd=sa;Initial Catalog=MyFirstMVC" providerName="System.Data.SqlClient" />

 And you can download the mvc 4 web application with insert, edit, update, delete in sql server data base  source code from here.

Don't forgot to share this knowledge to your friends. Cheers!


Anonymous said...

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.

Help said...

In the same way How to insert,Upadate,Delete images into database using Mvc
please give one simple example on this

Anonymous said...

Where is Code???

Unknown said...

Last para of this post

Post a Comment

Share your thoughts here...




Blogger Widgets