M
Matt Lowrance
I have created an object that has a number of properties, that I am
now trying to simply databind to a form. I am using the data designer
to do it and just dragging and dropping the items onto the form.
Everything works great, except one of the items in my object is a list
of dates. Right now I am using a generic list to hold these, but when
I go to put this item on the form it only lists "None" as the type of
control I can use to represent it.
I just want to list the dates in a combobox so the user can select the
correct one. The dates are coming from a backend database earlier in
the process, so at this point they are actual DateTime objects.
Would it be easier to change them to string and use a type of string
list, then just convert them back with CDate() when I need to use
them? What type of string list is bindable?
Thanks in advance for any help.
Matt
now trying to simply databind to a form. I am using the data designer
to do it and just dragging and dropping the items onto the form.
Everything works great, except one of the items in my object is a list
of dates. Right now I am using a generic list to hold these, but when
I go to put this item on the form it only lists "None" as the type of
control I can use to represent it.
I just want to list the dates in a combobox so the user can select the
correct one. The dates are coming from a backend database earlier in
the process, so at this point they are actual DateTime objects.
Would it be easier to change them to string and use a type of string
list, then just convert them back with CDate() when I need to use
them? What type of string list is bindable?
Thanks in advance for any help.
Matt