Pls adv
Thanks for the reply! I use the select statement below :
select * from sys.databases to get all the available databases in my server.
But I hv this question abt the dataset or gridview connection..
For example. in form a, i used a gridview to display patient name, so the connecting string has been defined to database A, Patient table. for example. Now, If i change the the login connection to different database, let say B, will the gridview auto update the connection string to connect to the database B, or it will still connect to the database A?
Many thanks.