KaxDatePickerDbSelectedDate Property |
Gets or sets the date content of KaxDatePicker in a database friendly way.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax [TypeConverterAttribute(typeof(DateTimeConverter))]
public Object DbSelectedDate { get; set; }
<TypeConverterAttribute(GetType(DateTimeConverter))>
Public Property DbSelectedDate As Object
Get
Set
public:
[TypeConverterAttribute(typeof(DateTimeConverter))]
property Object^ DbSelectedDate {
Object^ get ();
void set (Object^ value);
}
[<TypeConverterAttribute(typeof(DateTimeConverter))>]
member DbSelectedDate : Object with get, set
Property Value
Type:
Object
A
DateTime object that represents the selected
date. The default value is null (Nothing in VB).
Remarks
This property behaves exactly like the SelectedDate property. The only difference
is that it will not throw an exception if the new value is null or DBNull. Setting a
null value will internally revert the SelectedDate to the null value, i.e. the input value will be empty.
Examples
The following example demonstrates how to use the
DbSelectedDate
property to set the content of KaxDatePicker.
private void Page_Load(object sender, System.EventArgs e)
{
KaxDatePicker1.DbSelectedDate = tableRow["BirthDate"];
}
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
KaxDatePicker1.DbSelectedDate = tableRow("BirthDate")
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also