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 excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
What is enableviewstatemac in asp net?
How do you handle server controls?
What is web router?
What is state management techniques in asp.net?
What is the base class from which web forms are inherited?
What is the difference between equals() and == in c#?
What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?
What are sql notifications and sql invalidations?
What is a postback in asp net?
Explain what is the procedure to create the environment for asp.net? : asp.net mvc
Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?
What is the parent class of all web server control?
Explain the difference between dataset and datareader.
How does session state work in asp.net?