且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用WinApp C#在sql server 2008数据库中保存datagridview image列?

更新时间:2023-10-15 10:48:04

将33改为31然后再给它。



对不起意味着将其更改为32而不是31.



原因是c#中的索引从0开始而不是在1处,所以为了访问第33列,你需要传递索引32。
Change 33 to 31 and give that ago.

Sorry mean change it to 32 not 31.

The reason for this is that indexes in c# start at 0 and not at 1, so in order access column 33 you need to pass index 32.