Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am new for MVC....


after @model thel solutionname is not coming to that .cshtml page...what i have to do for that..
if am typing in following way it running without error but in the browser it's shows
"Registration_and_Login.ViewModel.RegisterViewModel" this only...how i can solve this problem


directly i typed
---------------

@Model Registration_and_Login.ViewModel.RegisterViewModel


please tell how to overcome that...

thanks for sharing
Posted

1 solution

Include the namespace in your view.
HTML
@using Registration_and_Login.ViewModel
@model RegisterViewModel


-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900