I have a datagrid bound to dataset where some entries are null. In that grid
I am defining a column as Boolean (see code below) and I get the expected
checkbox which is checked or unchecked when the DB value is 0 or 1 but when
it is null, I get a grayed out checkbox that is checked. I want the null
values to display nothing - like with the null text in a textbox. How can I
accomplish that?
TIA
Wayne
============= Code to define column =============== ===
' Define Wait Column
Dim objWaitCol As New DataGridBoolCol umn
objWaitCol.Mapp ingName = "Wait"
objWaitCol.Head erText = "Wait"
objWaitCol.Widt h = 50
objWaitCol.Alig nment = HorizontalAlign ment.Center
objWaitCol.Null Text = ""
'Add the column to the styles
objRegsDataGrid TableStyle.Grid ColumnStyles.Ad d(objWaitCol)
I am defining a column as Boolean (see code below) and I get the expected
checkbox which is checked or unchecked when the DB value is 0 or 1 but when
it is null, I get a grayed out checkbox that is checked. I want the null
values to display nothing - like with the null text in a textbox. How can I
accomplish that?
TIA
Wayne
============= Code to define column =============== ===
' Define Wait Column
Dim objWaitCol As New DataGridBoolCol umn
objWaitCol.Mapp ingName = "Wait"
objWaitCol.Head erText = "Wait"
objWaitCol.Widt h = 50
objWaitCol.Alig nment = HorizontalAlign ment.Center
objWaitCol.Null Text = ""
'Add the column to the styles
objRegsDataGrid TableStyle.Grid ColumnStyles.Ad d(objWaitCol)
Comment