Binding datagrid to ArrayList of Hashtables

2005-12-22 Thread Bjorn I
For most of my data I have created valueobjects to hold the data, and use that for the resultClass in my select statements. Now my application needs reports, and they might change over time. I did not want to create a valueobject for each report, so I was trying to return a IList of hashtable

Re: Binding datagrid to ArrayList of Hashtables

2005-12-22 Thread Ron Grabowski
asp:Repeater runat=server id=repList ItemTemplate asp:Literal id=litItem runat=server / /ItemTemplate /asp:Repeater private void repList_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item) { IDictionary dict = (IDictionary)e.Item.DataItem;