The 2.0 Framework includes GetSchema methods that can fully enumerate the
structure from most providers.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have an SQL Server2000 database and I am trying to obtain column
> descriptions programmatically in vb.net (VS2003).
>
> If I edit the design of one of my tables in Enterprise Manager I can
> add a description to each column but I have so far been unable to
> access this information from vb. I read somewhere that you can use the
> GetOleDbSchemaTable method of an OleDbConnection object but when I do
> this the description column is always null. I have obtained other
> table information via this method, such as whether the table has an
> autonumber, without any problems so it seems to me that the description
> isn't available for some reason?
>
> Can anyone help?
>
> Cheers
>
> Gareth
>