In SQL, the command would be:
DECLARE @ID AS INT
SET @ID = @@Identity
INSERT INTO tbl_lmedata_equipment
(lmedata_id)
VALUES
(@id)
In ASP,
VB.NET, what is the command for this? Ive tried almost everything. Visual Basic doesnt pick up the @@Identity as being anything. How do I get the auto increment variable without using the @@ Identity?
Thank you!