Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- From: v-kevy@xxxxxxxxxxxxxxxxxxxx (Kevin Yu [MSFT])
- Date: Fri, 27 Jan 2006 03:16:58 GMT
Hi Mike,
You can add ta.Connection.Open before ta.Insert(this._lastName,
this._firstName);, so that the connection can be kept open, and the
@@IDENTITY can be returned. Make sure you call ta.Connection.Close() after
you get the identity.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
.
- References:
- Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- From: Frank Hickman [MVP]
- Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- From: Frank Hickman [MVP]
- Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- From: Michael Slattery
- Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- Prev by Date: Re: ADO Excel connection string reference documentation
- Next by Date: ADO/ASP timeout issue
- Previous by thread: Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- Next by thread: Re: VS.2005 c# Autonumber via Access with @@IDENTITY Failing
- Index(es):
Relevant Pages
|