datagridview的索引 [英] index of datagridview

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

问题描述

如何从datagridview中检索行数.

如果我用这个.

How can i retrieve the number of row from datagridview.

If I use this.

var a=  dataGridView1



我无法完成代码以检索要使用的索引数.



I can''t complete the code to retrieve the number of index to use it.

推荐答案

^ ]
http://www.daniweb.com/software- development/csharp/threads/349141/get-the-row-number-of-datagridview [ http://social.msdn.microsoft.com/Forums/zh_cn/winformsdatacontrols/thread/25bc9188-61a6-4f7b-97ae-03164b558ee1 [
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.rowcount.aspx[^]
http://www.daniweb.com/software-development/csharp/threads/349141/get-the-row-number-of-datagridview[^]
http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/25bc9188-61a6-4f7b-97ae-03164b558ee1[^]


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

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