{ var model = db.Student .Where(u => u.StudentId ==id) .Select(u => new studentReviewInformationViewModel studentname=u.studentname, studentadd =u.address, course=u.course, // collection reviewinfo= u.reviewinfo// collection }).FirstOrDefault(); return View(model); }
// collection . currently i amgetting count when checkd in debug mode
course count=2
i need to display data from collection in view
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.