If you are using WPF Data Binding .Net does the conversion. If you have a numeric or decimal field type and the value entered is not numeric, then WPF Binding marks the textbox with a read border. I recommend to use .Net field types for all binding properties, even though Cobol does some conversions automatically, like in the example of Chris.
↧