private string GetTableDescription(ADOX.Table pTable, ADODB.Connection pcon) { string strDesc = null; try { ADODB.Recordset rsSchema = pcon.OpenSchema(ADODB.SchemaEnum.adSchemaTables, new object[] { null, null, pTable.Name, "TABLE" }, System.Reflection.Missing.Value); if (!rsSchema.EOF) { if (rsSchema.Fields["DESCRIPTION"].Value != System.DBNull.Value) { strDesc = (string)rsSchema.Fields["DESCRIPTION"].Value; } } } catch (Exception) { } if ("".Equals(strDesc)) { strDesc = null; } return(strDesc); }