L
Luc
Dear,
how can I get the scope_identity after inserting records into the database
<System.ComponentModel.DataObjectMethod(ComponentModel.DataObjectMethodType.Select, True)> _
Public Function Insertdata(@Name, @firstname) as integer
return adapter.insert(@name,@firstname)
end function
The return statement only returns 1 incase the insert was
successful........this while I'm interested to get the last Id from this
insert.
your help is most appreciated!!
how can I get the scope_identity after inserting records into the database
<System.ComponentModel.DataObjectMethod(ComponentModel.DataObjectMethodType.Select, True)> _
Public Function Insertdata(@Name, @firstname) as integer
return adapter.insert(@name,@firstname)
end function
The return statement only returns 1 incase the insert was
successful........this while I'm interested to get the last Id from this
insert.
your help is most appreciated!!