MultiRow Windows Forms > Developer's Guide > Using MultiRow > Troubleshooting > Value in EditedFormattedValue Property and the Value Displayed Are Different |
Because the Cell.EditedFormattedValue property returns the value stored in the cell after it has been converted to a string (the result of Object.ToString), the value may not be always be the same as the value displayed. For example, DateTimePickerCell stores values as DateTime values, so even if the cell displays only date information, the cell still contains the time information. You can use the Cell.DisplayText property to return the displayed cell value as a string.