You're actually binding to the
String Object[
^], which has a
Property Length[
^], but no
Property
which contains the
String
itself (thus the name of the month). It has the
Default Property Chars[
^], but this cannot be bound to.
I've had this problem when binding to
Strings
and
Integers
.
In your case you could create a
DataTable[
^] first, fill it with the names of the months (using a
For Each Loop[
^]) and then bind to that.
An alternative is to create a
Class
which stores your
String
as a value and bind to that, like so:
Public Class MyValue(Of T)
Public Property Value As T
End Class
Now you can put your
String
in there and bind to the
MyValue Class
.
Hope it helps :)