Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
There is alot of ways is there to insert data to DB in MVC, Anyone suggest me what is the standard way to insert data in MVC. Reply ASAP.
Posted
Updated 18-May-15 5:12am
v2
Comments
Er. Ajay Chauhan 18-May-15 5:44am    
obviously LINQ.....
Arun Kumar_Tech 18-May-15 5:46am    
when read values from webform, what is the correct way to read data. in google i saw alot of ways, can you suggest me a standard way.
Afzaal Ahmad Zeeshan 18-May-15 12:05pm    
Just save the object in your Model using Entity Framework. Entity framework would do the remaining work (executing SQL commands etc) itself!
Maciej Los 18-May-15 13:56pm    
my virtual 5!
Afzaal Ahmad Zeeshan 18-May-15 22:28pm    
My real thank you! :)

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