I get the index out of range exception when compiling my grid view to display a set of orders.
It doesn\'t happen when I add a new row but it does occur when I try t
You are not setting the name of the data key for the Grid, but your delete method references DataKeys[e.RowIndex]. I think that's where the exception gets thrown.
Set DataKeyNames="OrderId" in your mark-up.