0
Visual studio error
hey guys, i have an Asp.net mvc project. i want to send some data with an action link, like this: <a href="~/user/GetUserDetails/@model.UserID">Get Details</a> and I have the method ob controller like this: public ActionResult GetUserDetails (int UserID) { .......} when i click on the action link, the visual show me an error which says: you can not send null parametrs to this method... i have do it before and it was ok and working nice... but now it show me this error. what i shoud to do???
1 ответ
0
check ur data, and change all value null with "0" or empty