Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) WebGrid (GridView) using MySQL database and Entity Framework in ASP.Net MVC Razor.
By default, Entity Framework cannot connect to MySQL Database and hence MySql Entity Framework Connector needs to be downloaded.
Once the MySql Entity Framework Connector is installed, the WebGrid will be populated from MySQL database using Entity Framework in ASP.Net MVC Razor.