We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Currency Type Cells

Thread ID:

Created:

Updated:

Platform:

Replies:

38781 Dec 19,2005 06:14 AM Dec 19,2005 07:41 AM Windows Forms 1
loading
Tags: GridControl
Lokesh Luthra
Asked On December 19, 2005 06:14 AM

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 .

Administrator [Syncfusion]
Replied On December 19, 2005 07:41 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;