本文介绍了Windows窗体应用程序不运行其他计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好先生/女士 我在Windows表单应用程序中使用c#和MS Access数据库创建但是当这个项目运行时复制其他计算机然后它不能创建连接其他计算机然后如何修复其他计算机的Windows窗体应用程序项目中的连接?
hello Sir/Madam I am create in windows form application using c# with MS Access Database but when this project copy other computer when run it then it can''t create connection other computer then how to fix connection in windows form application project for other computer?
推荐答案您好Patel, 使用Access数据库的任何具体原因?我建议可能是MSSQL或MySQL。 如果这两台计算机在同一个网络上,即一台计算机上的数据库和另一台计算机中的应用程序检查app.config并在< connectionstrings>中指定IP地址;如果您决定在.cs文件中指定,则检查或检查代码中的连接字符串 Hi Patel, any specific reason for using Access database? I would suggest maybe MSSQL or MySQL. If this two computers are on the same network i.e DB on one computer and App in another check in the app.config and specify the ip address in the <connectionstrings> tag or if check you connection string in the code if you have decided to specify in the .cs file
使用 odbc 连接
更多推荐
Windows窗体应用程序不运行其他计算机
发布评论