Re: Returning values



Well if you are doing an insert your connection has to be open at that time
so plug in the select last_insert_id right at that point to get the value of
the field back, then from there if you need to use it later for example you
could add it to the session.

Alex

"Steven Blair" <steven.blair@xxxxxxxxxxxxxx> wrote in message
news:eWphDouOFHA.1732@xxxxxxxxxxxxxxxxxxxxxxx
> Yes auto inc.
>
> The problem is, I am writing a web app so not using a conenction thats
> open all the time :|
>
> Any otrher ideas?
>
> Regards,
>
> Steven
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


.



Relevant Pages

  • Direcway Internet Experience Anyone?
    ... Regards, ... Chasman ... Prev by Date: ...
    (comp.dcom.telecom)
  • how to download a file
    ... Over what sort of connection? ... Best regards, ... Prev by Date: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: problem with active sync
    ... Now i am able to establish connection with my device. ... And it should startup automatically when we plug in the ... And thanks for all the support you are showing. ... With Best Regards, ...
    (microsoft.public.windowsce.embedded)
  • Datareader and Connection
    ... Can we check how many datareaders are associated with the connection? ... Thanks & Regards, ... Vishesh Vyas ... Prev by Date: ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: How do I use only one OleDbConnection
    ... Connection. ... Regards, ... Naveed Ahmad Bajwa ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)

Loading