Database Connections

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have MSDE running on one of my computers, along with my windows application.

this.cnKennel.ConnectionString = "Data Source=(local)\\NetSDK;packet
size=4096;integrated security=SSPI;"persist security info=False;initial
catalog=kennel";.

If I point the data source at the computer it works. Is there a way to use
the above statement to connect?? Please help, Thanks
 
Nbohana,

I assume if you ask from other computers. To connect it, you will have to
make from your computer a server. Sometimes done with a workgroup network,
however in general a bad solution. Don't you have a server somewhere?

Cor
 
Yes I have a server, but when I load the application onto a laptop I would
like to use MSDE. And have it to work without any changes to the software.
 
nbohana,
Yes I have a server, but when I load the application onto a laptop I would
like to use MSDE. And have it to work without any changes to the software.
--

At least you would have to change the connection string.

What you can place in the program by the way by instance using the config
file or the registry.

If that is the question, than tell how you make that connection string.

I hope this helps,

Cor
 
Back
Top