如何获取datagridview选中的单元格值(文本值) [英] how to get the datagridview selected cell value(text value)

查看:930
本文介绍了如何获取datagridview选中的单元格值(文本值)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人帮我获取数据gridview选择单元格值(文本)而不使用row.cell [index]

(或)

单击datagridview单元格我们必须找到它的绑定字段或模板字段

(或)

单击datagridview单元格,我们必须找到它的文本单元格或按钮单元格

解决方案



查看此链接:



http://forums.asp.net/t/1182552.aspx [ ^ ]


在代码项目中复制帖子使用ASP.net,C#在GridView中选择行值[ ^

Any one help me to get the data gridview selected cell value(text) without using the row.cell[index]
(or)
by click the datagridview cell we have to find its a bound field or template field
(or)
by click the datagridview cell we have to find its a Text cell or a button cell

解决方案

Hi,
check this link:

http://forums.asp.net/t/1182552.aspx[^]


duplicate post here in code project selected row value in GridView using ASP.net, C#[^]


这篇关于如何获取datagridview选中的单元格值(文本值)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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