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.

datetime cell in datagrid

Thread ID:





71280 Jan 24,2008 06:34 AM Jan 24,2008 10:54 AM Windows Forms 1
Tags: GridControl
Asked On January 24, 2008 06:34 AM

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 10:54 AM

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.

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.