Click here to Skip to main content
15,914,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends
realy need help on this, i have been designing some winform app that connect to an sql server database in sql server environment, but now the problem am having is, i want to add the database whose name is 'phuil.mdf' which i designed with sql server 2005 to my winform project, so i can run the app in visual studio and interact with the database without sql server installed in my computer. And in conclusion also deploy it along with my project.
Thanks in advance
Posted

1 solution

Then do not access it via SQL - use the JET (32 bit only) or ACE (32 and 64 bit) driver instead, and access it directly via ODBC.
 
Share this answer
 
Comments
Ese ochuko 7-Jan-13 8:23am    
Dont know much about those stuff, can u please break it down a little
OriginalGriff 7-Jan-13 9:29am    
Start here:
http://msdn.microsoft.com/en-us/library/aa288452(v=vs.71).aspx
You can replace JET with the ACE connection string instead.

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