I have created a DataTable with a Serial No Column. In this Column I am using AutoIncrementSeed. When I delete a row in the DataTable I would like to re-number it again.
DataTable : MyTable
S.No Items
1 Item A
2 Item B
3 Item C
In the above scenario, if i delete Item B it should be re-numbered as follows.
DataTable : MyTable
S.No Items
1 Item A
2 Item C.
Is it possible in VB.NET? Could you please help me out?
DataTable : MyTable
S.No Items
1 Item A
2 Item B
3 Item C
In the above scenario, if i delete Item B it should be re-numbered as follows.
DataTable : MyTable
S.No Items
1 Item A
2 Item C.
Is it possible in VB.NET? Could you please help me out?