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

datetime cell in datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

71280 Jan 24,2008 11:34 AM UTC Jan 24,2008 03:54 PM UTC Windows Forms 1
loading
Tags: GridControl
abc
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,
Haneef


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.

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

;