How to convert a businesstype String to DateTime RRS feed

  • Question

  • In my customer database we have datetime fields stored as strings and I want to be able to display the nice DateTimePicker control for these string fields in the screen designer as well as for normal DateTime fields, how can I accomplish this?

    I have tried to create a BusinessTypeExtension but I don´t know if it´s possible to map to an already existing type like the DateTime? I created a custom BusinessType "DateTimeFromString" but couldn´t find the corresponding DateTimePicker control to put in the XAML, the default control is just a textbox control.

    Any help are appreciated



    Tuesday, September 6, 2011 3:18 PM