.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

database attach to exe

Posted By: Chandranshu Awasthi     Posted Date: May 13, 2011    Points:5   Category :C#
i hv db in sql i want to know how to attach the database in exe.


pls help me



Responses
Author: Dhiraj Ranka             
Posted Date: May 15, 2011     Points: 20   

Hi,

You can load the db by browsing the local path rather than using server path.

For more info on connection string you can follow this URL
http://www.connectionstrings.com/sql-server-2005

Hope this helps.

Thanks & Regards,
Dhiraj Ranka
http://www.twitter.com/dhirajranka | http://www.dhirajranka.com
Author: Maverick             
Posted Date: May 17, 2011     Points: 20   
Author: Chandranshu Awasthi             
Posted Date: May 20, 2011     Points: 20   

i want to make exe of the project and give it to client with the database..

now could you plz help me



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend