Architecture | data | Databases get information about SQL Server databases you can use the DMO component or directly obtain information about the system tables, such as tables, views, stored procedures, and so on sysobjects tables where the information in the column exists syscolumns table. If you want to get information about an OLE DB database, such as Access's database.
You first reference the COM components Microsoft ActiveX Data Object 2.x Library and Microsoft ADO Ext. 2.x for DDL ...
The following is the C # code:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.