将数据网格的选定行的列文本显示到记事本 [英] Display column text of the selected row of the datagrid to notepad

查看:88
本文介绍了将数据网格的选定行的列文本显示到记事本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

您能帮我介绍如何在记事本中显示
吗? 数据网格的所选行的列文本.

请帮我...
在此先感谢

Hello Guys,

Can you please help me guys on how to show to notepad the
column text of the selected row of the datagrid.

Please help me...
Thanks in advance

推荐答案

使用SelectedItem 属性获取当前行的值.
获得这些值后,请使用Process [^ ]启动记事本.

将所有单元格值都转换为字符串的命令行参数传递给您,您应该能够在记事本中看到这些值.
Use the SelectedItem property to get the current row''s values.
Once you are able to get these values, use the Process class [^]to launch notepad.

Pass in the command line arguments with the cell values all converted into a string and you should be able to see these values in Notepad.


这篇关于将数据网格的选定行的列文本显示到记事本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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