Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I have an application developed in lightswitch. Using wamp server, I made ​​a website (localhost). The database ("localhost / db.mdf") is in the same folder as the program ("localhost / default.htm"). How should I write the connection string knowing that the database does not have any protection?
Posted
Updated 23-Jan-14 2:32am
v2
Comments
CPallini 23-Jan-14 14:12pm    
The 'M' in WAMP stands for MySQL, while db.mdf looks a SQL Server file. I see a problem.
Bruno C Soares 24-Jan-14 10:24am    
you are right!1

1 solution

I don't recognize wamp server. However I use ConnectionsStrings.com whenever I have questions about connections strings.

Good Luck
 
Share this answer
 
Comments
Bruno C Soares 24-Jan-14 6:06am    
I tried Many times using connectionstrings.com but with no results.
Wamp server is basically like IIs server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900