After specifying the query, we add the appropriate sorting. When you bind a Grid View through a Data Source ID, the Grid View will update this value since it is internally tracking the sort expression, so it knows when to switch between ascending and descending.

Since it’s a Bound Field, the Text Box is going to be Control[0].

Once we have a reference to the Text Box, we set the new first name.

NET forums is how to deal with exceptions like The Grid View 'Grid View1' fired event Row Editing which wasn't handled.

The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.

Net Programming (Web & Windows) - Database (SQL Server, My SQL, Oracle 9i, Oracle 10g) - Java Script, VB, XML, Ajax - Reports (Crystal & Jasper) - Infragistics, Devexpress - SAP BO, WEBI, Universe designer I have tried this with versions 9.2.3 and 9.3.2.

For example purpose I have used connection strings and queries in same file but for you, you need to retrieve it from web.config file and also use stored procedures.For the Template Field, we do know the ID of the control since we specified it in the markup, so we obtain a reference to it by calling Find Control on the appropriate row of the Grid View.The Grid View Row is the naming container for the Text Box in this case, so we need to call Find Control on the appropriate row, but we do not need to call it on the specific cell.The Situation: You have a Dev Express ASPx Grid View on your page with a column designated as “Read Only=true”.This works great when you are editing an existing record — it won’t allow you to change that field, but when you try to insert a NEW record, you can’t enter anything in the field.In addition to that, we’re resetting the Edit Index and Selected Index when the page is changed to avoid cases, for example, where you change pages and are suddenly editing a different item.