DataGridView中索引的含义 [英] Meaning of Index in DataGridView

查看:67
本文介绍了DataGridView中索引的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想知道DataGridView控件中索引的含义(它的作用).

hi all,

i want to know Meaning of Index in DataGridView control (what does it do).

推荐答案

DataGridView没有"Index"属性,但是您可以访问直接使用索引的单元格:
DataGridView doesn''t have an "Index" property, but you can access the cells directly using indexes:
DataGridViewCell cell = myDataGridView[columnIndex, rowIndex];


DataGridView [ ^ ]会给您这个想法.
DataGridView[^] will give you the idea.


这篇关于DataGridView中索引的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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