P
Poppy
In my code behind I add a coloumn to a datgrid :
I then bind in code with :
The problem I am having is that the field "BlockUsedUp",
which is a bit field in SQL SERVER always shows "FALSE"
when the value = 0. I want this to be "" if it is 0 and I
want to do it all in my code behind.
Can anyone help ?
Code:
lBlockUsedUp.DataField = "BlockUsedUp"
Code:
lBlockUsedUp.HeaderText = "Blocks Used Up"
Code:
lBlockUsedUp.ItemStyle.Width = New Unit(300)
Code:
dgBiopsyLocation.Columns.Add(lBlockUsedUp)
I then bind in code with :
Code:
dgBiopsyLocation.DataSource = iDataset.Tables
("ArrBiopsyLocation")
Code:
dgBiopsyLocation.DataBind()
The problem I am having is that the field "BlockUsedUp",
which is a bit field in SQL SERVER always shows "FALSE"
when the value = 0. I want this to be "" if it is 0 and I
want to do it all in my code behind.
Can anyone help ?