bartdedecker
Programmer
I want to receive the last Unique Identifier from a table.
I have already this code:
but I don't know how to read the data from myReader
I have already this code:
Code:
Dim myCommand As New OleDbCommand("Select max(Id) as LastId from Translation", OleDbConnection2)
OleDbConnection2.Open()
Dim myReader As OleDbDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection)