E
Eric Johanson
Hi
I am trying to get ADO.NET and Access to work together
nicely and part of the process is to read the 'Required'
property of each column in an Access database. I've used
the same code with ADO.NET against SQL Server 2000 and a
column's 'AllowDBNull' property is always properly set,
however, with Access 2000 it is always set to false?
summary of code:
myAdapter.FillSchema(myTable)
blnAllowNull = myTable.Columns(0).AllowDBNull
Does anyone know of a way to find this out using ADO.NET.
I can get the same info using ADOX & COM but I'd rather
keep it all .NET.
Thanks
Eric
I am trying to get ADO.NET and Access to work together
nicely and part of the process is to read the 'Required'
property of each column in an Access database. I've used
the same code with ADO.NET against SQL Server 2000 and a
column's 'AllowDBNull' property is always properly set,
however, with Access 2000 it is always set to false?
summary of code:
myAdapter.FillSchema(myTable)
blnAllowNull = myTable.Columns(0).AllowDBNull
Does anyone know of a way to find this out using ADO.NET.
I can get the same info using ADOX & COM but I'd rather
keep it all .NET.
Thanks
Eric