Rowupdating object

In the Page_Load event, you simply load your data from the database and bind it with the Grid View control as shown below: For brevity I am not storing connection string in the web.config and also not using any Data Access Component.

rowupdating object-61

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

I am only going to show the different ways we can use code to take the value from Grid View.

First, we have to very be clear in our mind that there are mainly two ways of taking the cell value from the Grid View: This code is for taking the value apart from the Grid View events; that is, any common event using a sender object.

Editing the Grid View control can be an incredibly easy feature to add for certain database tables, especially those who have no foreign key associated and can easily be edited through the use of a standard Text Box web control as shown in the figure below: Before we start examining the ASP.

NET Grid View markup and associated code lets first enumerate the important code pieces of this tutorial.

Leave a Reply