|
Hi folks,
first up - EXCELLENT app - nice, so far, anyway. Especially the PPC version.
I've been trying to get it to work, and it appears that there is a problem passing dates (ie, when inserting tasks during a sync), as SQL CE doesn't like the format that DateTime.ToString() returns.
I have modified mine to do the following, and it works (still more places to change, but this allowed me to sync down properly):
In data\LocalStorage.cs, line 265:
public int StoreTasks(DataTable table) { ... }
Where it was row[Global.TaskFields.DateModified] Change it to: DateFormat(row[Global.TaskFields.DateModified]) (and also for other dates)
and add this:
private string DateFormat(object TheDate) { if (TheDate == null) { return null; } DateTime Date = (DateTime)TheDate; return Date.ToString("yyyy-MM-dd HH:mm:ss"); }
this makes it work rather nicely.
:)
Nic.
|