Editformattedvalue&之间的区别Datagridview的Value属性 [英] Difference between Editformattedvalue & Value property of Datagridview

查看:292
本文介绍了Editformattedvalue&之间的区别Datagridview的Value属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

您能告诉我editformattedvalue属性所包含的值之间的区别是什么

Hi guys

can u tell me that what is the difference between the values contained by editformattedvalue property
and value property of datagridview in C#.Net.

推荐答案

DataGridViewCell.Value 属性是单元格包含的实际数据对象,而DataGridViewCell.EditedFormattedValue 属性是单元格的值或编辑控件(如果该单元格处于编辑模式.

在此处查找详细信息:
MSDN:DataGridViewCell.EditedFormattedValue属性 [ ^ ]
The DataGridViewCell.Value property is the actual data object contained by the cell, while the DataGridViewCell.EditedFormattedValue property is the value of the cell or editing control if the cell is in edit mode.

Find the details here:
MSDN:DataGridViewCell.EditedFormattedValue Property[^]


这篇关于Editformattedvalue&之间的区别Datagridview的Value属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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