开发者

Why OleDbSchemaGuid Not Support Description Field?

开发者 https://www.devze.com 2023-03-10 18:44 出处:网络
Why OleDbSchemaGuid Not Support Description Field? in this code return All field from database but Description of Columns and Tables are always = \"\" !

Why OleDbSchemaGuid Not Support Description Field? in this code return All field from database but Description of Columns and Tables are always = "" ! how can i get description from database ?

    Dim Schema = conn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, New Object() {Nothing, Nothing, Name, Nothing})
For i = 0 To Schema.Rows.Count - 1
   Dim culmSchema As New ColumnSchema
                    With culmSchema
                        .DatabaseName = Schema.Rows(i)!TABLE_CATALOG.ToString()
                        .Schema = Schema.Rows(i)!TABLE_SCHEMA.ToString()
                        .TableName = Schema.Rows(i)!TABLE_NAME.ToString()
                        .Name = Schema.Rows(i)!COLUMN_NAME.ToString()
                        .Description = Schema.Rows(i)!DESCRI开发者_如何转开发PTION.ToString() ' Return String.Empthy Always!! 
Next i 
End With

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消