Remove Data Row Error

Hello everyone Im facing below error while dealing with the Remove data row anyone please help me to solve this error

Capture

@Chetan1 Your getting that error because datatable doesnot has row with that index.

How to solve this issue?

If you are looping using index, use rows count =0 to rows.count-1
for i=0 to dt.rows.count-1
in your case you may have used i=1 to dt.rows.count

@Chetan1 Your deleting the data which doesnot exists in your datatable because of it you are getting error. May be your data is exists till row position 2426 or less than that also. Please check it once.

Note: Row number and column number starts with Zero(‘0’)