Work With GridView Using Entity Framework

This article explains how to start working with GridView using Entity Framework.

To Start

1. Create database with the name Database.mdf.









2. Create a table with the name "stud".



3. Create the fields in the table roll, name, course and pic (like image).



4. Set "roll" as the primary key.



5. Now set "roll" as an auto-increment column (we don't insert a roll value, it will be inserted automatically).





6. Now create an Entity Model (right-click in the Solution Explorer then select Add New Item).













7. The preceding tutorial is about how to start with GridView, for a complete GridView example please download the sample (all the code can't be put here).

Up Next
    Ebook Download
    View all
    Learn
    View all