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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Currency Type Cells

Thread ID:





38781 Dec 19,2005 11:14 AM UTC Dec 19,2005 12:41 PM UTC WinForms 1
Tags: GridControl
Lokesh Luthra
Asked On December 19, 2005 11:14 AM UTC

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 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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon