加载映像后无法连接到数据库 [英] Can't connect to db after load image

查看:65
本文介绍了加载映像后无法连接到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我是小程序员.现在我在使用C#语言的代码中遇到问题.我创建了一个文件名config.ini以连接到两个sql数据库.但是在图片框中加载并显示图像后,我无法连接到其他表单,因为总是显示有关该错误的信息,在我浏览图像的文件夹中找不到文件名config.ini.您的答案对我来说具有极大的价值...在此先感谢您.

Hi all! I''m the small programmer. now I have problem in my code in C# language. I created a file name config.ini to connect to two sql database. but after I loaded and displayed image in picture box , I couldn''t connect to another form because the error always showing about it cann''t find the file name config.ini in the folder that i browse image. your answers has great value to me... thanks in advance.

推荐答案

要查找哪个ini文件?

您的代码使用的是.ini文件吗?在这种情况下,它将需要存在于该文件夹中.
Which ini file is it looking for?

Is it an .ini file that your code uses. In that case, it will need to be present in that folder.


这篇关于加载映像后无法连接到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆