I have two buttons: Next and Previous in a Windows Forms application in C #, I am using a SQL statement:
SELECT * FROM aluno LIMIT 1;
for MYSQL. This instruction takes the 1st record.
Now comes the dilemma, I am not able to do log shipping (bring all the students).
I'm using this code:
if (Contador < Tabela.Rows.Count - 1){}
But the counter variable is catching the second record, not the first.