Windows窗体应用程序不运行其他计算机

编程入门 行业动态 更新时间:2024-10-15 16:20:37
本文介绍了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窗体应用程序不运行其他计算机

本文发布于:2023-10-07 13:16:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469484.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:窗体   应用程序   其他计算机   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!