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

Formatting Numbers in a cell of GDBG

Thread ID:





34647 Sep 14,2005 07:34 AM UTC Sep 14,2005 10:15 AM UTC WinForms 2
Tags: GridControl
Atith Pagdi
Asked On September 14, 2005 07:34 AM UTC

I have a column in the DGBG and am using the following line of code to format it upto one decimal place: this.dgTest.Binder.InternalColumns[COL_EQUITY_CONSID].StyleInfo.Format = "#0.0"; I want to also have specify the format to contain commas for every thousand place. 1000.45 should be displayed as 1,000.5 How can I do this by modifying the format in the same line for the internal column? Thanks

Administrator [Syncfusion]
Replied On September 14, 2005 09:17 AM UTC

Hi Atith, Try Format = "#,###,###.0" Regards, Stanley

Atith Pagdi
Replied On September 14, 2005 10:15 AM UTC

I''ve got it working man, thanks!


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

or the page will be automatically redirected to 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