I dont know if this works out for you. What i did was i created a view with
an extra column and added the row ids and then i binded the datagrid with
the view.
I dont't now how to create this view from sql server. I know thet In the
Oracle it is column ROWNUM, but in sqlSERVER it is not. I tried to create
this view from examples, but it was failed.
Maybe it is other way to create this column. programaticly