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
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
What describes a query?
How can you register a custom server control to a web page?
When Cookies are expired in ASP.NET?
Explain security types in asp.net?
What is the purpose of using MVC programming pattern in ASP.NET?
what are the web form events available in asp.net?
Should I delete cookies?
What are the security types in asp.net?
What are directives in asp.net? List down all the important directives.
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
Who creates jsessionid?
What are the two types of web pages?
Explain the advantages of asp.net.
Explain the difference between Web Garden and Web Farm?