Click here to Skip to main content
15,920,602 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends I am new to Asp.Net MVC5 i need know how to save the multiple forms into database using ADO.NET and 3tier architecture.How to do this,please assist me with related links.
Posted
Updated 22-Feb-16 22:27pm
v2
Comments
F-ES Sitecore 23-Feb-16 4:28am    
Your question is effectively "How do I write a website". Go through a book on MVC or at least some on-line tutorials (google "mvc music store") and how to do these things will become clear. Feel free to then ask specific questions about specific problems.

1 solution

MVC is web front end architecture. View is the screen that user will use. Model is the class whose object will be used to represent data in the application. Controller is what handles user interaction and acts as glue that holds view and model together.

In your case, user request will come to Controller. Controller object will then validate the model through methods in Model or in a separate class (business). Then it will be sent to data access layer which will perform the database operations. You can make use of a suitable provider for the database you are using. For instance SqlConnection and other related classes for performing database operations. You can refer to MSDN or search CodeProject for articles for more details.

Here[^] is something to get you started.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900