Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Showing information about databases in ado.net

How can I see all databases in curent connection using ado.net? And then see all tables in each database.

like image 537
Aram Gevorgyan Avatar asked Apr 13 '11 11:04

Aram Gevorgyan


People also ask

What ADO objects are used for accessing databases?

For retrieving data, examining results, and making changes to your database, ADO provides the Recordset object. As its name implies, the Recordset object has features that you can use, depending on your query constraints, for retrieving and displaying a set of database rows, or records.

What is ADO and explain database programming?

ActiveX Data Objects (ADO) is an application program interface from Microsoft that lets a programmer writing Windows applications get access to a relational or non-relational database from both Microsoft and other database providers.

Which database is the ADO?

ADO is used in C++ and Visual Basic programs to connect to SQL Server and other databases. Of course, it also works to connect to Azure SQL Database in the cloud.


1 Answers

it gets all database

it gets all tables from database(this link was deleted now use this one. but change code little)

ADO.Net : Get table definition from SQL server tables

you can iterate over database and get all tables

like image 145
AEMLoviji Avatar answered Oct 14 '22 03:10

AEMLoviji