Binding SortList to Data component
Hi all,
I'm wondering if this can be done. I have a SortedList which represents a shopping cart. The sorted list contains multiple instances of my CartItem class. The CartItem class contains all the fields (product id, price, quantity, etc.)
I'm wondering if there is a way to bind this to one of the data components (ie DataList, ListView, gridView, dropdownlist, etc.)
Thanks,
Strick
Re: Binding SortList to Data component
Hello,
Yes, you should be able to set the DataSource property of the controls to the List.
Gary