||ASP.NET Data Controls Part 1: DataGrids|
Response to: datagrid
i had a similar problem but i got it cleared.
first check the number of columns in the datagrid
start form 0 if u still have the same problem try this
datagrid.EditItemIndex = -1 should be the last statement
hope im right