Hi,
I am trying to bind UltraDateTimeEditor with timespan value at that time i can't bind this value. Even Default value is also not set to this control.
I am using code for binding :
*****************************************************************************
.Name =
"dtpDefaultDate"
.DisplayStyle = EmbeddableElementDisplayStyle.Office2007
.DropDownButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Never
.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always
.MaskInput =
"{time}"
.DataBindings.Add(
"Value", datDocs.Tables("docs"), "timeValue", True)
End With
At that time not getting error but value is also not binded.
Any solution regarding this issue??
How I bind new UltraTimeSpanEditor 10.2 with database sqlce (sdf) ? What type of column should I use? nvarchar, datetime or other?
Sorry for my English. - Lello
DateTimeEditor works with the DataTime data type, not a TimeSpan. For Timespan, you can use the new TimeSpanEditor as Amiram mentioned.
If you have version 10.2, use the new UltraTimeSpanEditor.