Currency Type Cells

Hi I have a small Query I am binding a grid column with the following code . gbc = New GridBoundColumn gbc.MappingName = "Salary" gbc.HeaderText = "Salary" gbc.StyleInfo.CellType = "Currency" The Problem is If there is no value the table say DBNULL VALUE is there then also the Grid Cell value is shown as 0 . How can I Get rid of the same . I want that the Currency Cell must be BLANK if nothing is there in the datatable . Any Inputs on the Same .

1 Reply

AD Administrator Syncfusion Team December 19, 2005 12:41 PM UTC

Hi Lokesh, You can set the NullString property in order to make the Currency Cell BLANK. gbc.StyleInfo.CurrencyEdit.NullString = “”; Regards, Calvin.

Loader.
Up arrow icon