G
Guest
hello all,
i am looking for a way to get metadata of a DataColumn (in c#).
i want to write a switch-case statement(if it possible) that check the
Column DataType as declared at the database (adChar, adVarChar,adDate,
adDBDate, adDBTimeStamp,adDecimal, adSingle, adDouble, adNumeric, ..., ....)
and then to get for each one it's 'DefinedSize' and 'NumericScale' values.
in ADO Recordset it was very simple,
what is the best & right way to do it in ADO.net (C#)?
thank's
stan
i am looking for a way to get metadata of a DataColumn (in c#).
i want to write a switch-case statement(if it possible) that check the
Column DataType as declared at the database (adChar, adVarChar,adDate,
adDBDate, adDBTimeStamp,adDecimal, adSingle, adDouble, adNumeric, ..., ....)
and then to get for each one it's 'DefinedSize' and 'NumericScale' values.
in ADO Recordset it was very simple,
what is the best & right way to do it in ADO.net (C#)?
thank's
stan