Work With Gridview Using Entity Framework

Work With Gridview Using Entity Framework

DOWNLOAD GRIDVIEW CODE

Hello friends,

This is basic gridview (with insert, edit, delete, pagging, sorting etc) tutorial using Entity Framework.

Here I am giving tutorial of how to start only and for Gridview part you can Download  attached code.

To Start:

1.      Create Data Base with name Database.mdf

  1. a1a2

a3

a4

2.      Create table with name ‘stud’

a5

3. create fields in table – roll, name, course, pic (like image)

a6

4. Set ‘roll’ as primary key

a7

5. Now set ‘roll’ as auto increment column (we don’t insert roll value, it will be inserted automatically)

a8

6. Save table with name ‘stud’

a9

5.      Now Create Entity Model (Solution Explorer -> Right Click -> Add New Item)

a10

a11

a12

a13

a14

a15

7.      Now above tutorials is of how to start … for Gridview tutorial please DOWNLOAD (because I am not able to put all the code here)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s