从DataGridView检索数据 [英] Retriving Datas from DataGridView

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

问题描述



我试图从每个单元格的DataGridView中检索数据.
在vb.net(Windows应用程序)中,但我失败了...
有人请帮我做这个..:)

Hi,

I am trying to retrieving the datas from DataGridView from each cells.
in vb.net (windows application) but i failed to it...
anybody please help me to do this.. :)

推荐答案

例如
DataGridView1.Rows(0).Cells(0).Value


等等.在示例中,您将获得第一个单元格的值
(在左上方)在您的DataGridView中.


and so on. In the example you get the value of the first cell
(top-left) in your DataGridView.


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

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