When I select few records from datagridview and insert into access database. First selected record will last insert into database and last selected records will insert first.
I got give a number to each record. For example, I got 3 items. When I select this 3 items and insert to database, the last item will get number 1 and first item will get number 3.
How can I let first item get number 1, second item get number 2 and so on.