GridDataBoundGrid Entity Framework Demo

This sample illustrates the implementation of ADO.NET Entity Framework support in the GridDataBoundGrid.

Below is an image of a GridDataBoundGrid Entity Framework.

DBG Entity Framework

GridDataBoundGrid Entity Framework.

Features

Interactive Features

The following code illustrates binding a datasource to the GridDataBoundGrid through the Entity Data Model.


                //Creates an object for entity connection.
                EntityConnection con = new EntityConnection("name=NorthwindGridEntities");

                con.StoreConnection.ConnectionString = "Data Source=" + FindFile("NorthwindwithImage.sdf");
                NorthwindGridEntities db = new NorthwindGridEntities(con);    

                //Bind the datasource to GridDataBoundGrid.
                this.gridDataBoundGrid1.DataSource = db.Customers;

Note:

To run DBG Entity Framework_2008, you must have the following installed:

To run DBG Entity Framework_2010, you must have the following installed: