Rowupdating event of

Rated 3.98/5 based on 774 customer reviews

In this article we will look at how to update or delete a record in a database table using a Grid View control.

The Grid View control is a tabular databound control but sometimes it is used like a spreadsheet control. NET 2.0 and is an improved version of the Data Grid control. We can use this to display data from a database and edit, sort and select the data.

Now we access this connection string on the page so we can open a connection with the relation database. The first one accesses the connection string and the other is for the SQL connection.

rowupdating event of-10

rowupdating event of-76

In my custom grid View control I cannot raise the Row Updated event.

I am using Template Field’s Item Template and Edit Item Template for providing read only and editing interface of the same column in the Grid View.

By Default, Grid View control displays Item Template which directly shows the Product Name and Unit Price columns but when user clicks Edit button Grid View automatically switches to Edit Item Template and display the control available inside Edit Item Template for user editing.

I have tried to not override in control and instead use delegates like I described in ...

The visitors to a web site can typically be divided into two groups: the users and the administrators.

Leave a Reply