Ok so i have a datagrid that brings back a few Values. I give the user the option to insert a record anywhere inside the datagrid just as long as the Values are in a correct ascending order. How can i compare the value of the previous row with the value of the selected row as well as comparing it with the row after it?? Any help will greatly be appreciated. Its a simple load of a datagrid so thats why there's no code.