L
Lloyd Dupont
how do I get the list of database ?
like Northwind, etc ....
with ADO.NET ?
same question for MySQL too
like Northwind, etc ....
with ADO.NET ?
same question for MySQL too
Miha Markic said:Hi Lloyd,
You might try using sp_databases stored procedure then.
Of course, you'll need privileges to run it.
--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com
becauseLloyd Dupont said:thanks all
but what if I don't and can't use the ODBC/OleDB provider (let sayI
run on PocketPC)
And I want to use the System.Data.SqlClient.SqlConnection,
System.Data.SqlClient.SqlCommand objects of ADO.NET ?
and I have a ConnectionString in the form:
"Address=myIP;User ID=aUser;Pwd=aPwd" with the 'Database' setting as I'm
trying to get the list of it ....
what kind of SqlCommand should I use .......
is it only possible ?
is the user/password needed for it ?