Value cannot be null. Parameter name: items (in Dropdown List) ASP.NET MVC5

后端 未结 5 466
终归单人心
终归单人心 2020-12-02 00:18

I have problem in my code. I\'m using the registration form which comes with MVC5 , I added a field \"Role\" as a Dropdownlist to assign a role to the user while creating a

5条回答
  •  星月不相逢
    2020-12-02 00:46

    You cannot bind a

    提交评论

提交回复
热议问题