My table looks like this:
id, name, pass, email
0 , bob , bob , b@b.c
1 , joe , joe , j@e.c
2 , jim , jim , j@m.c
3 , jak , jak , j@k.c
I have a VB.NET program which can connect to a mysql table correctly. On that program I want to have a label, Showing the ID of the LAST person on my table. So with the table above my label will show the number '3' cause that is the most recent id.
However on a table like this:
id, name, pass, email
0 , bob , bob , b@b.c
1 , joe , joe , j@e.c
2 , jim , jim , j@m.c
3 , jak , jak , j@k.c
4 , jon , jon , j@n.c
I want my label to say 4 as a new user registered and the most recent id has risen by one.
How would I be able to get that value from a list of say, 150 accounts.
Any help would be appreciated!
id, name, pass, email
0 , bob , bob , b@b.c
1 , joe , joe , j@e.c
2 , jim , jim , j@m.c
3 , jak , jak , j@k.c
I have a VB.NET program which can connect to a mysql table correctly. On that program I want to have a label, Showing the ID of the LAST person on my table. So with the table above my label will show the number '3' cause that is the most recent id.
However on a table like this:
id, name, pass, email
0 , bob , bob , b@b.c
1 , joe , joe , j@e.c
2 , jim , jim , j@m.c
3 , jak , jak , j@k.c
4 , jon , jon , j@n.c
I want my label to say 4 as a new user registered and the most recent id has risen by one.
How would I be able to get that value from a list of say, 150 accounts.
Any help would be appreciated!