Re: Values of a Oracle table in C++
From: ilbmbo <ilbimbo_at_gmail.com>
Date: Tue, 4 Aug 2009 00:21:00 -0700 (PDT)
Message-ID: <7f9cc2f4-c83e-4b4a-8517-b7bc74f92d65_at_b14g2000yqd.googlegroups.com>
On 3 Ago, 22:31, TJ Bandrowsky <tbandrow..._at_treatyist.com> wrote:
> 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...
Date: Tue, 4 Aug 2009 00:21:00 -0700 (PDT)
Message-ID: <7f9cc2f4-c83e-4b4a-8517-b7bc74f92d65_at_b14g2000yqd.googlegroups.com>
On 3 Ago, 22:31, TJ Bandrowsky <tbandrow..._at_treatyist.com> wrote:
> 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...
hy,
I have all the value of my table (in Oracle Database) in the reader, but i can only read the value one at one (sorry for my english) with this command:
String^ dati = gcnew String(this->ogg_textBox_errori->Text);
isn't possible to create a new table with all the value of my original Db table???? Received on Tue Aug 04 2009 - 02:21:00 CDT