Different column field types determine the behavior of the columns in the control. When both are used, explicitly declared column fields are rendered first, followed by the automatically generated column fields.
Auto Generate Columns property to false and then defining your own column field collection. Explicitly declared column fields can be displayed in combination with automatically generated column fields.
The Grid View control supports the following features: Each column in the Grid View control is represented by a Data Control Field object. Auto Generate Columns property is set to true, which creates an Auto Generated Field object for each field in the data source.
Each column represents a field, while each row represents a record.
To avoid this we need to keep the property Read Only as false, Then in the edit mode nothing will happenes. The reason I use Template Field instead of Bound Field is that, it is very easy to grab those controls in the codebehind if we user labels or textboxes.
If he clicks edit (or) in the edit mode he can be able to see the Textbox.
Then again we have to call that Bind Grid Data () method to bind data for the textboxes. You can leave a response, or trackback from your own site.