datagridviewImageColumn中system.argumentExcepition的原因和解决方案 [英] Causes and solution to system.argumentExcepition in datagridviewImageColumn

查看:76
本文介绍了datagridviewImageColumn中system.argumentExcepition的原因和解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有以下表的sql数据库,当我尝试将d表中的d信息检索到datagridview时,该表的三个列2的文本列和一个图像列,图像列仅显示带有红色"x"符号的框,然后一个异常"system.argumentException无效参数",当我尝试关闭异常框时,它一直反复出现,直到我停止debugin pls sum1可以帮助我解决这个问题,而我在过去2天一直在尝试解决这个问题

在此先感谢

I have an sql database with a table that hz three column 2 text column and an image column when i try to retreive d information in d table to a datagridview the image column only displayed a box with a red "x" sign then an exception "system.argumentException invalid parameter, when i try to close the exception box,it keeps appearing over and over again until i stopd debugin pls can sum1 help me to solve this i av been trying to solve this for the past 2 days

thanks in advance

推荐答案

访问图像的路径不正确,或者由于某些原因(可能是权限)而无法访问图像.
这也可能是导致错误(参数无效)的原因.
The path to access the image is incorrect or you are unable to access the image for some reasons (maybe permissions).
This is also probably the cause for the error (invalid argument).


这篇关于datagridviewImageColumn中system.argumentExcepition的原因和解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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