Patterns: Format datepicker value in a culture neutral way
This commit is contained in:
@@ -48,7 +48,8 @@ Namespace Modules
|
|||||||
|
|
||||||
Case GetType(DevExpress.XtraEditors.DateEdit)
|
Case GetType(DevExpress.XtraEditors.DateEdit)
|
||||||
Dim oDateEdit As DevExpress.XtraEditors.DateEdit = oControl
|
Dim oDateEdit As DevExpress.XtraEditors.DateEdit = oControl
|
||||||
oReplaceValue = oDateEdit.EditValue
|
Dim oDateValue As Date = oDateEdit.EditValue
|
||||||
|
oReplaceValue = oDateValue.ToString("yyyyMMdd")
|
||||||
|
|
||||||
Case GetType(DevExpress.XtraEditors.LookUpEdit)
|
Case GetType(DevExpress.XtraEditors.LookUpEdit)
|
||||||
Dim oLookupEdit As DevExpress.XtraEditors.LookUpEdit = oControl
|
Dim oLookupEdit As DevExpress.XtraEditors.LookUpEdit = oControl
|
||||||
|
|||||||
Reference in New Issue
Block a user