Hello,
I am looking for a way to maintain the row index in my datagrid after i have sorted the list. For example if i add details of 3 person to the grid through textboxes and sort them alphabetically, they sort exactly the way i want them to. The problem i get is that if a row is selected it is supposed to give the details of the row back to the textboxes. Before sorting it works as supposed to (first persons details shown in textboxes if first person is selected in datagrid) but if it is sorted, and lets say the first persons details are alphabetically last, it gives the third persons details while person #1 is selected (done it by taking the index from a list i added the data to).