What is mvc structure? given example?
How to show gridview control from business components and
using class object arrays?
Answer Posted / aj
Hi
MVC is an Architecture developed on top of .NET Framework.
Where they have concept of Model which is your databse
related stuff, and View Which is presenter (.aspx) files
and Controller (Which controles the action of your
application this is something from your regulat asp.net
website...
Controller tells what to do and when to do and here the
concept of Postback is not there any more...neither you
have the facility of ViewState......
This is one reason you may not be able to use your grid
view as effectively as earlier in asp.net
website/applications (when you are using MVC)...
As there is no postaback concept any more between client
and server it makes it possible to test your controller
actions even when your application is not running (F5)....
Hence this helps us do Test Driven Development of the
application...where you can write Test Cases first and then
do the development as it can be tested offline......
You may not be able to include Unit Test Project if you are
using Visual Web Developer as for this you need VS
2008....And MVC installed in your machine.....
For grid view you can refer to
http://blog.maartenballiauw.be/post/2008/06/Code-based-
ASPNET-MVC-GridView.aspx....it might help...
All the best
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Is asp net front end or backend?
Explain the concept of View Model in MVC?
How does asp page work?
What is base class of .net?
How to use a Master Database in Asp.net?
Explain http handlers? Where we can use the http handlers?
What are the modes of updation in an updatepanel?
Explain about asp.net caching?
What is difference between cache and session?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
Distinguish between Server-side and Client-side code with its functionality?
What is break mode?
What are the file extensions for razor views?
How to prevent client side validation from the ASP.NET validation controls?
State differences between MVC and WebAPI