Error:
There is no row at position 0
Does anyone know how to solve or explain what this error is?!
This error means exactly what is written on it:
There is no line at zero position
To solve is also simple: Before doing the assignment that is in the error line, validate if the line that is accessing has value.