Sunday, August 11, 2013

MVC Sample 2

File->New->Project


Select Project Template as

Internet Application


And Click on Ok Button

And Go to Controller Folder and Right Click  àAddController.


Now in DemoController ,write the following Code.

Now, write click on Demo Controller .cs(that is exactly on ViewResult)

Click on AddView


View Name: Show
And Click on Add, and now the View is Created.
Demo:is the name of the controller

Show is the method name.

No comments:

Post a Comment

Thank you for visiting my blog

Python -3

  Lists It is used to store Collection of data. Lists are created using square brackets: List Items Order cannot be changed. It can have dup...