How do i use the IList interface, in my Asp.net page?

M

Mahernoz

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top