|
Rank: Newbie Groups: Member
Joined: 7/13/2010 Posts: 4
|
Datepicker - gives dbnull error - but obviously the initial data in database will be null. How dows one fix this problem. Initial data will be null till new data is captured.
Please assist.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Try to bind to SelectedDateString instead of SelectedDate. SelectedDate is a DateTime value, it can not have null value. But SelectedDateString can.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/13/2010 Posts: 4
|
I am using VB2010 - asp.net4 - usting it in detailsview - and when wanting to bind does not offer me the Selecteddatestring property. Properties it offer me as bindable after telling it show all properties is SelectedDate, SelectedDAtes, SelectedDaystyle.
Thank you for advise just had to modify xaml manually to above property name and whalla.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Glad that you got it working!
|
|