The parameter conversion from type 'System.String' to type 'T' failed because no type converter can convert between these types

前端 未结 2 1343
无人及你
无人及你 2020-12-21 09:24

NOTE: All of the code here is paraphrased as an example, as I can\'t show real code.

I have a view model class that looks something like

<         


        
2条回答
  •  遥遥无期
    2020-12-21 10:01

    One of the common reason causing this error is using the some kind of reserve words such as "Action, Comment, Filter, etc.". So, changing the Action name "Filter" with another name i.e. "ApplyFilter" will probably solve the problem. Hope this helps...

提交回复
热议问题