winform vs2015 我做了一个管理系统,用的是本地数据库,怎么让别人电脑上也打开这个数据库
下面是我的字符串stringstr=System.Environment.CurrentDirectory;stringsouce=@"DataSource=(Local...
下面是我的字符串
string str = System.Environment.CurrentDirectory;
string souce = @"Data Source = (LocalDB)\MSSQLLocalDB;AttachDbFilename = "+str+@"\个人资产数据库.mdf;Integrated Security = True"; 展开
string str = System.Environment.CurrentDirectory;
string souce = @"Data Source = (LocalDB)\MSSQLLocalDB;AttachDbFilename = "+str+@"\个人资产数据库.mdf;Integrated Security = True"; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询