May 02, 2012, 9:16 AM
[CLOSED] [Razor] Using Model in MVC View
Hello,
Could you give me an example for using Model in MVC View
I had tried:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1660: Cannot convert lambda expression to type 'string' because it is not a delegate type
Could you give me an example for using Model in MVC View
I had tried:
@Html.X().Label().Text(@<text>@Model.Pageheading</text>)
But this doesn't workCompilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1660: Cannot convert lambda expression to type 'string' because it is not a delegate type
Last edited by Daniil; May 02, 2012 at 4:45 PM.
Reason: [CLOSED]