Information générale
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
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.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement