Machaira Posted June 14, 2005 Posted June 14, 2005 (edited) DataGrid null columns (resolved) Maybe I'm missing something. I have a datatable with a field that's a bit type. Due to joins the field could be null. I'm binding the field to a DataGridBoolColumn column style. For the null entries it shows up as a greyed out checked checkbox. I've set the NullValue property for the column style to False and the AllowNull property to both True and False, but I can't seem to get the null entries to display as an unchecked checkbox. Any help would be appreciated. edit: sister board suggestion - use IsNull in the SQL to change the nulls to 0 Edited June 14, 2005 by Machaira Quote Here's what I'm up to.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.