Re: Values of a Oracle table in C++

From: TJ Bandrowsky <tbandrowsky_at_treatyist.com>
Date: Mon, 3 Aug 2009 13:31:24 -0700 (PDT)
Message-ID: <3d074a5a-c000-4899-a724-7931c3a9fc8a_at_w41g2000yqb.googlegroups.com>



On Aug 3, 6:03 am, ilbmbo <ilbi..._at_gmail.com> wrote:
> hy, i'm writing a software in c++ (Visual Studio 2008) for use a
> oracle database and his table.
>
> I used this code to select a table of my Db but i don't know how i can
> see the Vales of the row:
>
> String^ queryString = gcnew String  ("SELECT * FROM
> PROVA_LUCA.AFTBSKDA8");
>
> System::Data::OracleClient::OracleCommand^ command = gcnew
>
> System::Data::OracleClient::OracleCommand(queryString,conn);
>
>         try
>         {
>
>                 System::Data::OracleClient::OracleDataReader^ reader =
> command-
>
> >ExecuteReader();
>
>                 while (reader->Read())
>                 {
>
>                         "here i can using the values of any rows but i
> don't know the mode."
>                 }
>
> can you hepl me?

If you are writing in C++, have you looked at the OCCI C++ native classes that Oracle has to use for client connectivity? It looks to me like you are using .NET as your C++ target... Received on Mon Aug 03 2009 - 15:31:24 CDT

Original text of this message