P
Phillip Ian
Seems like this should be straightforward enough, but I can't get
anything to show.
I have a class cClient which has as one of its properties a list of
addresses. Inside the cClient FormView, I want to have a DataList that
shows this list of addresses. I can't seem to get the binding right
though.
What I've got so far:
<aspataList ID="lstAddresses" runat="server" DataSource='<%#
Eval("AddressList") %>' DataMember="ToHTML">
</aspataList>
AddressList is of type List(of cAddress).
ToHTML is a function that returns the address all formatted pretty.
Can't think of what else you'd need to help, but just ask!
Thanks,
-Phil
anything to show.
I have a class cClient which has as one of its properties a list of
addresses. Inside the cClient FormView, I want to have a DataList that
shows this list of addresses. I can't seem to get the binding right
though.
What I've got so far:
<aspataList ID="lstAddresses" runat="server" DataSource='<%#
Eval("AddressList") %>' DataMember="ToHTML">
</aspataList>
AddressList is of type List(of cAddress).
ToHTML is a function that returns the address all formatted pretty.
Can't think of what else you'd need to help, but just ask!
Thanks,
-Phil