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

datetime cell in datagrid

Thread ID:





71280 Jan 24,2008 11:34 AM UTC Jan 24,2008 03:54 PM UTC WinForms 1
Tags: GridControl
Asked On January 24, 2008 11:34 AM UTC

i am using syncfusion datagrid. I want to display datetime in one of the columns. The datetime is stored in database in "ToOADate"
ie datetime.ToOADate. "ToOADate" format stores datetime a different format that datetime stores. Is there any way in data grid which converts the "ToOADate" format to normal datetime.

haneefm [Syncfusion]
Replied On January 24, 2008 03:54 PM UTC

Hi Prabhjeet,

You can try these codes

this.gridGroupingControl1.TableDescriptor.Columns["Col3"].Appearance.AnyRecordFieldCell.CellType = GridCellTypeName.MonthCalendar;
this.gridGroupingControl1.TableDescriptor.Columns["Col3"].Appearance.AnyRecordFieldCell.Format = "G";

and let me know if this helps.

Best regards,


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