Re: Values of a Oracle table in C++
Date: Mon, 3 Aug 2009 09:36:56 -0700 (PDT)
Message-ID: <0e787042-777c-4631-905f-cd37fc441f11_at_v20g2000yqm.googlegroups.com>
On Aug 3, 6:03 am, ilbmbo <ilbi..._at_gmail.com> wrote:
snip
> 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?
Maybe you want to see the value of a specific column in a specific row? A table as a whole does not have a value ... only specific columns.
So maybe use print or printf and supply relevant parameters. Received on Mon Aug 03 2009 - 11:36:56 CDT