i use this way
@Html.DropDownListFor(model => model.First().KEYWORD_NAME, ViewData["KEYWORD"] as IEnumerable, "Select Company Name", new { @class = "form-control" })
but i have this error :
System.ArgumentNullException: 'Value cannot be null.
Parameter name: source
i don't have any parameter with name source ?
i debug the project and i checked that the view data have data inside it
how i can fix it ?
i debug the project and i checked that the view data have data inside it
how i can fix it ?
Mageshwaran RPosted Oct 5, 2020, 11:37 AM
Jignesh KumarPosted Sep 28, 2020, 11:51 AM
Sachin SinghPosted Sep 28, 2020, 8:52 AM