Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Display DB-Char-Column as CheckBox-Column in UltraGrid
posted

Hi!

Im using a DataSet (that stores an OracleDB-Table) as DataSource for my UltraGrid. The last column of that DataSet is of type CHAR. Value can be 'Y' or 'N', meaning yes or no, resp. true or false.

I can't change the datatype of that column to boolean, it must be char or string.

So in my UltraGrid this column is of type System.String and i can't change that because its a bound column. But I managed to change the "Style"-Property to "CheckBox". Thats what I want, but now I have to associate the values. 'N' should be interpreted as false (unchecked), 'Y' as true (checked). How can I do that?

 

Excuse my english, hope u understand my problem!

Parents Reply Children
No Data