What is mvc structure? given example?
How to show gridview control from business components and
using class object arrays?

Answers were Sorted based on User's Feedback



What is mvc structure? given example? How to show gridview control from business components and us..

Answer / 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

What is mvc structure? given example? How to show gridview control from business components and us..

Answer / chinnu

i don't know

Is This Answer Correct ?    1 Yes 0 No

What is mvc structure? given example? How to show gridview control from business components and us..

Answer / dhina

asp MVC.NET is microsoft's answer for web generation 2
sites, where the sites will be search engine optimized.
URL of the site doesnt map to the deployed folder structure
eg (www.test.com/scripts/test1.html) this means that the
test.com is virtual directory and scripts is a subdirectory
and test1.html is physical file name, these direct
directory url is not there in MVC

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How many types of session in asp.net2.0

28 Answers   ABC, DOT, First Europa, HCL, iRely, TCS,


What is view state? where it stored? can we disable it ?

1 Answers  


What is the difference between pathparam and queryparam?

0 Answers  


Difference between Dataset and DataReader ?

4 Answers   Accenture, BirlaSoft, Infosys, Microsoft, Techseol,


What is application variable and when it is initialized ?

4 Answers   Keane India Ltd,


Hi, I am a fresher. i have a problem related to DataGrid . i have a data grid and i have to place a dropdown in the datagrid.and i have to retrieve the values from the database (sqlserver).please tell me any idea about the code.

1 Answers   Lambent,


What is base class of button control in .net?

0 Answers  


What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

1 Answers   Syntax Softtech,


Can the unique key be null?

0 Answers  


What is the request flow used for asp.net mvc framework? : asp.net mvc

0 Answers  


Which control has default post back is enabled(true)?

0 Answers   Sans Pareil IT Services,


what are the main advantage in .net?

4 Answers   TCS,


Categories