accesing server name in c# forms
hi all
i have made a databse on MS SQL Server.
i want to know how we get a server name(Microsoft SQL server)in C# forms when i m making a connection to them.
i m writing a following line:
SQLConnection conn=new SQLConnection("server name");
please reply
thanks
|