Re: Retrieve The Autonumber Value In Access Using C#

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: William Ryan eMVP (dotnetguru_at_comcast.nospam.net)
Date: 05/24/04


Date: Mon, 24 May 2004 11:14:39 -0400

Hi Kabouter

This should help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconretrievingidentityorautonumbervalues.asp

-- 
W.G. Ryan, eMVP
http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
"Kabouter Smal" <Kabouter@plop.com> wrote in message
news:b934b0lo6jbd1q8r0i2ksddhg3tbtin9i1@4ax.com...
> It's driving me crazy.....
> How do i get The Autonumber Value of a record that is just inserted?
> And then specialy in de Visual Studio.Net 2003 envoirement?
> With the sqlCommand or DataSet in c#?
>
> Please give me some ideas???
>
> Regards,
> Jake


Relevant Pages

  • Re: Fast Update 10,000 Access records
    ... W.G. Ryan, eMVP ... > <nycboy> wrote in message news:uKPMzvlSEHA.808@tk2msftngp13.phx.gbl... ... > going to send a command to the db provided you have a respective command ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Different connection string syntax between CF and regular Framework?
    ... W.G. Ryan, eMVP ... Your connection string worked fine in my ... >>> framework project and a separate project targeting Compact Framework ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: RowState
    ... W.G. Ryan, eMVP ... >> Have an opinion on the effectiveness of Microsoft Embedded newsgroups? ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Newbie code example question
    ... W.G. Ryan, eMVP ... you could just use the same where clause in the Select statement you ... >> use the subquery, you'll set evreything in A that matches B to Flagged, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: ConnectionState issue
    ... W.G. Ryan, eMVP ... >> Have an opinion on the effectiveness of Microsoft Embedded newsgroups? ...
    (microsoft.public.dotnet.framework.adonet)