如何在wpf中读取DataGrid单元格值? [英] How to read DataGrid Cell Value in wpf ?

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

问题描述

如何在WPF中使用Windows DataGridVeiw.Rows [0] .Cell [0] .Value?

解决方案

http://wpftutorial.net/DataGrid.html [ ^ ]

将该页面上的示例下载到右上角,删除不需要的部分的tabitems,然后就完成了。


查看此链接





social.msdn.microsoft.com/Forums/en/wpf/thread/74332b78 -6bfd-4ac9-af85-dfd9bec87a29

http://wpfadventures.wordpress.com/2008/12/02/wpf-datagrid-detecting-clicked-cell-and-

row /
[ ^ ]

http://stackoverflow.com/questions/2148978/wpf-toolkit-datagrid-selectionchanged-getting-cell-value [< a href =http://stackoverflow.com/questions/2148978/wpf-toolkit-datagrid-selectionchanged-getting-cell-valuetarget =_ blanktitle =New Window> ^ ]

How to Use Windows DataGridVeiw.Rows[0].Cell[0].Value in WPF?

解决方案

http://wpftutorial.net/DataGrid.html[^]
Download the sample on that page to the top right, delete the tabitems for the sections you don't need and you're done.


Check this links


social.msdn.microsoft.com/Forums/en/wpf/thread/74332b78-6bfd-4ac9-af85-dfd9bec87a29
http://wpfadventures.wordpress.com/2008/12/02/wpf-datagrid-detecting-clicked-cell-and-
row/
[^]
http://stackoverflow.com/questions/2148978/wpf-toolkit-datagrid-selectionchanged-getting-cell-value[^]


这篇关于如何在wpf中读取DataGrid单元格值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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