Referencing

windmaster

New Member
i'm binding an ArrayList filled with instances of a custom class with multiple properties to a DataList. i want to reference the different properties in-line like so...<BR><BR><%# DataBinder.Eval(Container.DataItem, "MyCustomProperty") %><BR><BR>intuitively, you would think to just put the property name there but it throws an error saying "'MyCustomProperty' is not a property of 'MyCustomClass'" when IT IS. what am i doing wrong?!sorry, the title got cut off.
 
Back
Top