Grid View Edit Delete In Asp.net 4.0


Websoftcreation upload this video for grid view edit and delete.In this video we will see that how we can do edit and delete in asp.net grid view control.

working of grid view is given below

Websoftcreation Video.

Today I am going to tell you that how we can use grid view control in asp.net to show database data

Let’s start

Still we seen that how we can bind database table with grid view control

Today we will see how to do edition and deletion in grid view control

1. False autogeneratecolumns false

2.Bind server controls in grid view control with database table fields(columns)

3. These templates will create columns in gird view

4. Now we will use item template of each column.Because to show data ,we
have to use item template

5. Bind Label control with database table field

6. Eval function is an two way binding function where we pass database table field name

7. Add Command field

8. When we click on command field’s delete button then it will call rowdeleted event
of grid view control

9.This code succesfully deleted our database table record

10.For perform edition we have to use edit item template

11. Place controls in edit item template of each column

12. After click on edit we have to open edit item template on clicked row index

13 Row editing event is called when we click edit button of command field
for more tutorials , source code ,notes, please visit my other website :

14 when we click on cancel button then it will call its default event(RowCancelingEdit)

15. Click on update button,It will call RowUpdating event

In this Websoftcreation’s video you have seen that how we can do edit and delete in grid view control websoftcreation is migrated into yogeshdotnet , Please subscribe that channel for updates
For more videos and free tutorial and notes please visit

My Youtube gears:
Headphone with Mic :
Best USB Micro phone :
Another option(cheap) asUSB microphone :
Microphone with mic under 500:
Antivirus under 500 : Flipkart
Headphone with mic :
Another Option Headphone with mic :
Bluetooth Speakers : Flipkart
Headphone with mic :
Another Option Headphone with mic :
Bluetooth Speakers : Flipkart
Headphone with mic :
Another Option Headphone with mic :
Bluetooth Speakers :
What’s app group: What’s app group for latest technologies and trends :
Facebook Page Url :