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