Lines ID in GridView

Good day.

I have a model with the key id = rrcc where rr is the order number a cc the number of the column (rr, cc min = 01, max <= 99). How to implement such a model for GridView?

Thank you