D
David H.
I'm trying to bind an arraylist to a datagrid web control
The arraylist contains "mystates" objects with properties named "state" and "abbreviation.
I can set the grid's datasource to be the arraylist, but I am having trouble referencing the properties of each arraylist item by their name. For example, the grid doesn't like
<asp:boundcolumn datafield="state" /
Is there an easy way around this
Thanks
- David H.
The arraylist contains "mystates" objects with properties named "state" and "abbreviation.
I can set the grid's datasource to be the arraylist, but I am having trouble referencing the properties of each arraylist item by their name. For example, the grid doesn't like
<asp:boundcolumn datafield="state" /
Is there an easy way around this
Thanks
- David H.