在C#.net项目中添加System.Windows.Forms.DataGridViewRowCollection参考 [英] Adding System.Windows.Forms.DataGridViewRowCollection reference in C#.net project

查看:199
本文介绍了在C#.net项目中添加System.Windows.Forms.DataGridViewRowCollection参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想在我的项目bcoz中添加System.Windows.Forms.DataGridViewRowCollection参考,但我的代码中出现以下错误

Hello everyone,
I want to add System.Windows.Forms.DataGridViewRowCollection reference in my project bcoz i get following error in my code

Error   1   'System.Windows.Forms.DataGridViewRowCollection' does not contain a definition for 'Rows' and no extension method 'Rows' accepting a first argument of type 'System.Windows.Forms.DataGridViewRowCollection' could be found (are you missing a using directive or an assembly reference?)

推荐答案

您非常,非常迷失.买一本书并阅读.我无法想象给您一个答案,它将解决您帖子中显示的所有问题,我不知道从哪里开始.

该错误意味着您试图引用一个不存在的Rows属性,没有要添加的内容,但是代码不是随机的,并且仅调用存在的对象.
You are very, very lost. Buy a book and read it. I can''t imagine giving you an answer that will solve all the problems revealed in your post, I don''t know where to start.

The error means that you tried to reference a Rows property that does not exist, there''s nothing for you to add, but code that is not random, and that calls only objects that exist.


这篇关于在C#.net项目中添加System.Windows.Forms.DataGridViewRowCollection参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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