S
schneider
Hi all,
I want to obtain column properties using C# and the System.Data
namespace. Using DbDataReader.GetSchemaTable() or DataAdapter.Columns
I only retrieve properties like DataColumn.MaxLength or
DataColumn.AllowDbNull in a correct fashion. But if I want properties
like DefaultValue or certain column validation rules, I fail. Does
anyone know how to obtain these values? If so, please post some sample
code or links.
Thank you very much in advance.
Regards,
Hannes
I want to obtain column properties using C# and the System.Data
namespace. Using DbDataReader.GetSchemaTable() or DataAdapter.Columns
I only retrieve properties like DataColumn.MaxLength or
DataColumn.AllowDbNull in a correct fashion. But if I want properties
like DefaultValue or certain column validation rules, I fail. Does
anyone know how to obtain these values? If so, please post some sample
code or links.
Thank you very much in advance.
Regards,
Hannes