Friday, 25 March 2016

Fix the following error: The type or namespace name 'SelectListItem' could not be found (are you missing a using directive or an assembly reference?)

Watch this example on YouTube:

The type or namespace name 'SelectListItem' could not be found (are you missing a using directive or an assembly reference?) 

Add the following using:

using System.Web.Mvc;

No comments:

Post a Comment