Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to learn SQL server with .Net. I am writing a simple app for a

client. Its good learning tool for me.

Right now I am using SQL 2000 and and using localhost as the server. The default in Code Samples. It seems to be working in my office but I know its not going to work at my clients. The data will be sitting on the server and my system will be running on a couple of stations.

I know this must be simple but I like to know how I get the Server, User and Password to the Server.

 

How do you guys handle this? Any help will be greatly appreciated.

 

Thanks

Sunil Prasad

sunilprasad@dccnet.com

Posted

Hi Sunil

I am not getting ur problem actually...u said u are using the server name as Localhost...and when u are going to instal ur application in ur client system which have another server name(instance of sql server) u should have to give the server name of the sql server in that client machine and u should have to give the username abd password according to the sql s erver authendication in client machine...i think this will help u ..if not i am sorry..........

 

Satya

gummadi009@yahoo.com

Satya
Guest mutant
Posted
Maybe you could prompt the user for UserName,Pass and server name the first time he/she uses the program and then store it in registry. And then when you need it just read it from there.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...