Click here to Skip to main content
15,166,728 members

Comments by mrx100 (Top 2 by date)

mrx100 17-Jun-12 14:10pm View
i want to give program to friend , run on his pc without change the connection string thats all
mrx100 16-Jun-12 16:48pm View[^]
this is for Iam using sql server 2005 & c#

i want to make connection string like that code

string strPath = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + (System.AppDomain.CurrentDomain.BaseDirectory) + "c#project.accdb".ToString();
OleDbConnection con;
con = new OleDbConnection(strPath);

but with sql server 2005