I encourage you to still read this article to get an overview of the rationale behind the custom Grid View control and to understand the initial architecture. NET 2.0, the Grid View control serves as a much more functional and feature-rich choice.
This article's text has not been updated to reflect these changes.
Thus, in order to switch it into Edit Mode, in each of your event handles (Row Editing, Row Updating, and Row Canceling Edit) you must do two things: Protected Sub Grid View1_Row Editing(By Val sender As System.
We will use Template Field, whenever we want to define some custom control in the data bound controls like Grid View, Data Grid or Data Repeater.
If he clicks edit (or) in the edit mode he can be able to see the Textbox.
After you've finished this article, read Improving the Sort Arrows Grid View Control, which discusses the enhancements in more detail. NET version 2.0 was released, I wrote a book and dozens of articles on the Data Grid control, which was the most functional data Web control in the ASP. The Grid View can be bound to data source controls like the Sql Data Source and Object Data Source, and paging, sorting, editing, and deleting can be implemented without having to write a single line of code.
While the Data Grid (and Grid View) offer built-in sorting support, there is no visual feedback as to what column the data is sorted by.