KaxDateInputDbSelectedDate Property |
Gets or sets the date content of KaxDateInput 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 public Object DbSelectedDate { get; set; }
Public Property DbSelectedDate As Object
Get
Set
public:
property Object^ DbSelectedDate {
Object^ get ();
void set (Object^ value);
}
member DbSelectedDate : Object with get, set
Property Value
Type:
Object
A
DateTime object that represents the selected
date. The default value is
MinDate.
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 revert the selected date to the MinDate value.
Examples
The following example demonstrates how to use the
SelectedDate
property to set the content of KaxDateInput.
private void Page_Load(object sender, System.EventArgs e)
{
KaxDateInput1.DbSelectedDate = tableRow["BirthDate"];
}
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
KaxDateInput1.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