sql server doubt
scenario : There are 10 computers on LAN and one system will have MS SQL installed on it.. now my doubt is how will the application route the information into the database .. in the application i have hard coded the sqlserver name.. is this enough? and a good practice.. or are there any other requirements to send the data from the application to database??
Pankaj GuptaPosted Dec 18, 2008, 3:46 AM
JPosted Dec 10, 2008, 8:51 AM
The ideal scenario is to place all of your data access code in one place (on the server) and have clients connect to it through a serialized interface (i.e. web services or remoting interface)
Kirtan PatelPosted Oct 26, 2008, 6:05 PM
So that if your server is changed you can easily modify the client application to work with those changes without modifying the client application programming .
it will give your client application portability to work with any server in LAN :)
Happy Coding :)
Rohit KPosted Oct 26, 2008, 2:01 PM
Vijaya KadiyalaPosted Oct 6, 2008, 3:37 PM
Hi
When you are providing connection string that will have server information and database which you want to access.
ex:
Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
As long as you are in Network it will work.
Thanks -- Vj
http://dotnetvj.blogspot.com
http
://oravj.blogspot.com