Server Error in '/' Application. No parameterless constructor defined for this object

前端 未结 6 1945
感动是毒
感动是毒 2021-01-11 11:55

The callstack shows the following:

[MissingMethodException: No parameterless constructor defined for this object.]
System.RuntimeTypeHandle.CreateInstance(Ru         


        
6条回答
  •  清酒与你
    2021-01-11 12:24

    I solved the issue which is caused of SelectList object because it does not provide the default constructor so we cant have in out ViewModel.

提交回复
热议问题