This project has moved and is read-only. For the latest updates, please go here.

Description, and DateTaken databinders will not work

Jun 23, 2007 at 10:06 PM

Great Job creating this service! I am using the PhotoAlbumCs for a base...

I had a question about the DateTaken (I did look at the other discussion) I am not using it as a extra search. Just to display the dateTaken. It usually displays "Monday, January 1, 0001"

Also I couldn't find a databinder for showing the description, not when uploading.

Thanks for the help!
Jun 25, 2007 at 11:40 AM
If you do not request the date taken as an extra parameter then it will not be set. The default value for an unset date field is 01/01/0001, therefore this is why you are seeing the problem you are.

Also, there are quite a few classes that do not have proper setter/getter fields defined, so they might not show up in data binding scenarios. This is basically due to my laziness (or lack of time) in changing the code.
Jun 25, 2007 at 7:56 PM
How would I request the date taken as an extra parameter?

Jun 26, 2007 at 9:15 AM
I thought you said you read the previous discussion? DateTaken returns 1/01/0001 12:00:00 AM

See the ExampleSimpleSearch example code.
Jun 26, 2007 at 7:14 PM

Sorry for not looking at it hard enough, I thought that was only sorting the photos.

Thanks again!