How to edit data source name.

  • Thread starter Thread starter Beebee1988
  • Start date Start date
B

Beebee1988

Guest
Hi, i am using 2 computer to do learning my coding.

when i am at home the connection string for my database is
Data Source=.;AttachDbFilename="R:\future\STB KA SJ\STB KA SJ\Customer.mdf";Integrated Security=True

when i am at office, i need to change the connection string for my database became this in order to keep it continue

Data Source=.\\SQLExpress;AttachDbFilename="R:\future\STB KA SJ\STB KA SJ\Customer.mdf";Integrated Security=True


i guess that happen when i am installing SQLserver using default name. but this is getting tricky here. everytime i need to rename my code before testing the wfa, so i need help regarding how to configure this

. become .\\SQLExpress

l tried to search at ODBC but nothing there. please help. thank you

Continue reading...
 

Similar threads

D
Replies
0
Views
769
DexterCamarillo
D
D
Replies
0
Views
96
Donald Uko
D
D
Replies
0
Views
714
DexterCamarillo
D
Back
Top