It is as simple as this:
DataTable t = _conn.GetSchema("Tables");
where _conn is a SqlConnection object that has already been connected to the correct database.
It is as simple as this:
DataTable t = _conn.GetSchema("Tables");
where _conn is a SqlConnection object that has already been connected to the correct database.