DataItemIndex is the DataItem index in the underlying DataSet. YES
RowIndex is the Row row index in the underlying GridView. YES
But there is a big difference
For example, if your girdview has a page size of 10 lines, your RowIndex will always be 0-9 for each page, but DataItemIndex will be different when you go to other pages, such as PageIndex 2,3,4 ... On page 2 DataItemIndex will be between 10-19, but RowIndex is still 0-9.
source share