I have a class, lets call it Schmuck. It has 2 public properties Name
(string) and active (boolean). When I bind to a Repeater, like so:
<%#container.da taitem("Name")% > i get the following error: No default
datamember found for type Schmuck. The Schmucks are in a ArrayList.
When I use DataBinder.Eval , i have no prob. But for say the boolean
Active property, I want to pass to a function like so:
<%#fx(CBool(con tainer.dataitem ("Active"))) %> so i want to get away from
the Eval syntax ( for overhead reasons as well ). But why am i gettin
this error. Thanks for any advice......