Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can you use c# without .net?

924


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

982


Explain serialization and deserialization?

951


Explain Session state management options in ASP.NET.

1031


What is the usage of DelegatingHandler?

1011


What is difference between singleton and single call?

1022


What are httphandlers and httpmodules and difference between them?

952


How would you implement inheritance using c#?

957


What is query string?

966


What is the difference between dynamic SGA and static SGA?

1073


What is ispostback property?

862


What is advantage of code behind coding in ASP.NET?

975


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

819


How use Xml data in ASP.net?

935


Can you explain one critical mapping? Performance issue which one is better?

844