to show data in partial view
I have created a Partial view on index
here is the index method
public ActionResult Index()
{
Big5OnlinePortalEntities db = new Big5OnlinePortalEntities();
var data = db.ExpoRegistrations.ToList();
return View(data);
}
here is the partial view
@model IEnumerable
@{
Layout = null;
}
Customers
| ID | Email Id | User Name | Password | EditionName |
|---|---|---|---|---|
| @ExpoRegistration.Id | @ExpoRegistration.EmailId | @ExpoRegistration.UserName | @ExpoRegistration.Password | @ExpoRegistration.EditionName |
now it is showing error 'System.Data.Entity.Core.EntityException'
The underlying provider failed on Open.
can anyone help I am new to MVC
can anyone help I am new to MVC
Nagma KhanPosted Oct 21, 2017, 5:03 AM
Sundaram SubramanianPosted Oct 17, 2017, 5:26 AM