You can bind to Collections, Arrays and anything that implements IList.
The technique is essentially the same, you set the DataSource to the object
you want to bind to, set any dataTextFields / datavaluefield that tell the
control what fields to bind to where, and call the control's DataBind method.
Peter
--
Site:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
Short urls & more:
http://ittyurl.net
"Mahernoz" wrote:
> How to use the IList interface in an Asp.net page?
>
> How to bind it to a grid, can i use the datasource property?
>
> Thanks,
> Mahernoz
>
>