halo guys, I having problem executing the SQL statement in the visual studio but when in the MySQL it work fine. Here are my code.
Dim sql As String = "SELECT * FROM (SELECT @row:= @row + 1 AS rowNum, std.* FROM Student std ,(SELECT @row:= 0) r) AS t where rowNum = " & i & ""
Please help.thanks