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

databoundGrid datatime column

Thread ID:





37956 Dec 2,2005 04:59 PM UTC Dec 2,2005 07:48 PM UTC WinForms 1
Tags: Tools
Alexandre faucher
Asked On December 2, 2005 04:59 PM UTC

Hi! I''ve a probleme... When I add a datatime column in DataBoundGrid, the column show the calendar activeX. How I can diseable or set visible of this control. I want only show the date with datetime cellvaluetype in a column. And if I use a string type, I can''t use a specific format with baseStyleMap Please help me. Alexandre

Alexandre faucher
Replied On December 2, 2005 07:48 PM UTC

ok,I found: if ( e.Style.CellType == "MonthCalendar" && e.RowIndex > 0) { e.Style.Format = "yyyy/MM/dd hh:mm:ss tt"; e.Style.CellType = "String"; }


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