Posts Tagged: ViewBag

Access List value from ViewData in MVC

Let’s create a mvc application and name it mvcDemo. Let’s create a model and name it StudentModel. public class StudentModel { public int StudentId { get; set; } public string Name { get; set; } public bool IsRequired { get;… Continue Reading →