table schema

  • Thread starter Thread starter Cesar Ronchese
  • Start date Start date
C

Cesar Ronchese

Hello, all!

I would like to know if is possible to retrieve the datatable structure
correctly, like an ADO recordset. The needed information is:

- column size
- db data type

in ADO, is possible to retrieve that doing a loop in fields collection.

I have tryied, in .NET, the datacolumn collection, but size always coming -1
and data type is a .framework datatypes (db datetime come like
"system.runtimetype").

There are a good manner do it?

[]'s
Cesar
 
Ty! I'll see that.


"Miha Markic" <miha at rthand com> wrote in message
Hi Cesar,

See OleDbConnection.GetOleDbSchemaTable method.
 
Back
Top