Re: psqlODBC ODBC3.0/Column Names

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: psqlODBC ODBC3.0/Column Names
Date: 2002-03-27 09:44:05
Message-ID: 3CA19465.A98D58DC@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Dave Page wrote:
>
> > -----Original Message-----
> > From: Hiroshi Inoue [mailto:Inoue(at)tpf(dot)co(dot)jp]
> > Sent: 26 March 2002 21:20
> > To: Dave Page
> > Cc: pgsql-odbc(at)postgresql(dot)org
> > Subject: RE: [ODBC] psqlODBC ODBC3.0/Column Names
> >
> >
> > > I'm in the process of learning C#/.NET and whilst trying to
> > persuade
> > > an OdbcCommandBuilder to work as documented, thought I'd try the
> > > (development)
> > > ODBC3 version of the driver to see if that was the problem.
> > >
> > > I still haven't go the OdbcCommandBuilder to work, but I did find
> > > that with
> > > the v3 driver, the columns appear to have lost their names.
> > The following
> > > code returned the names as expected with the v2.5 driver,
> > but Column1,
> > > Column2... with the v3:
> >
> > Could you send me the MyLog output ?
>
> The attached archive, includes logs from the 2.5 & v3 drivers from my test
> program (also included so you can see what it's doing). These logs are also
> relevant to the other problem I reported (subject: .NET ODBC Data
> Provider).
>
> > > foreach(DataColumn dcDB in dsDB.Tables[0].Columns)
> > > Console.WriteLine("{0} ({1})", dcDB.ColumnName,
> > dcDB.DataType);

Hmm I couldn't find so many info in it unfortunately.
Could you send me the above(or simpler) .NET example ?
Probably I would be able to touch a .NET environemnt.

regards,
Hiroshi Inoue

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2002-03-27 11:43:43 Re: psqlODBC ODBC3.0/Column Names
Previous Message Eric March 2002-03-26 22:11:16 WIN98 Install, Setup instructions