> When i tried the following code (ie trying to bind a multicolumn
> arraylist with a datagrid)
> I get the error
> 'An invalid data source is being used for DataGrid1. A valid data source
> must implement either IListSource or IEnumerable. '
> Which is the way to display such an arraylist with a control like
You aren't binding to the arraylist you are trying to bind to TGuitar.
--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
>
> You aren't binding to the arraylist you are trying to bind to TGuitar.
Sorry.Thanks for pointing it out.When i try to bind a gridview it with
arraylist ,the error
is
***************************************
The data source for GridView with id 'gvGuitar' did not have any
properties or attributes from which to generate columns. Ensure that
your data source has contentraylist
*****************************************
I know one can use only single column arraylist with gridview.
How does one does with multicolumn arraylist.
I did read some thing about ObjectDataSource.How ever i could not get
any proper reference for delphi related stuff.
Any pointers?
Venatesh