General information
Category:
Database DAO/RDO/ODBC/ADO
Title:
Bit field representation
In my application, when I applied DataGridTableStyle to the dataGrid
a bit field returned the value as (true/false.)
Before applying DataGridTableStyle, the bit field showed as a check mark.
I'd like to present the bit field as a check mark again even though applying DataGridTableStyle to the dataGrid.
I suspect Format function has a key to solve this.
I tried the following,
dgColumn = New DataGridTextBoxColumn
dgColumn.Format = "d"
But this didn't work. If anyone knows how to format a bit field as check mark, please let me know.
**********************************************************************
I've found the solution to this myself.
I added DataGridTextBoxColumn but after change this to DataGridBoolColumn,
it worked fine. So if anyone looked at this issue, I thank you for the effort.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only