Thursday 20 June 2019

Model conflicts with the declaration 'System.Web.Mvc.WebViewPage.Model

/////////////Error




//////////////Solution


The problem was In my View I was using somewhere Model => Model. Its should be model => model


Because Model conflict with model

case-I    >    @Html.HiddenFor(Model => Model.RID_Village)   CaseI

case-II    >     @if (Model.RID_Village > 0)

case-III    >   @Html.HiddenFor(model => model.StateCode)    Case II

No comments:

Post a Comment

Excel Sort values in ascending order using function TEXTJOIN

 Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...