Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Display Yes/No instead of True/False on bound TextBox

$
0
0

Using .Net 2.0 with WinForms, I have the following Bindings:

bindingSource1.DataSource = typeof(IOrdDetail);
rotDiscretion.DataBindings.Add("Text", bindingSource1, "Discretion", true);
Discretion is a bool and rotDiscretion is a TextBox. I seem to remember there is some sort of data converter or presenter routine. Can anyone please advise?

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>