LINQ in Action roller

Entity Framework dataGridView display

I try to show the data from entity model and display them in datagridview1. i got this error: The underlying provider failed on Open. try { using ( AdWorkEntities entities = new AdWorkEntities ()) { Customer eph = ( from bp in entities.Customer.Include( "Customer" ).Include( "Customer.CustomerID" ) where bp.CustomerID > 0 select bp).First(); dataGridView1.DataSource = eph; } } catch (Exception ex) { throw ex; } } Read More...
Published Tuesday, July 29, 2008 12:04 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication