PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

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

 
 
Mahernoz
Guest
Posts: n/a
 
      1st Jan 2007
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      1st Jan 2007
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
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i Implement the IList interface in my WebForm? Mahernoz Microsoft Dot NET 2 1st Jan 2007 04:35 PM
List<T> and IList interface Rene Microsoft C# .NET 4 15th May 2006 07:37 AM
Implementing the IList Interface =?Utf-8?B?TWljaGFlbCBWYW5ob3V0dGU=?= Microsoft Dot NET Framework 2 5th Jul 2004 07:20 PM
Implement IList Interface frank Microsoft ASP .NET 0 11th Jul 2003 10:03 AM
Implement IList Interface frank Microsoft C# .NET 0 11th Jul 2003 10:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 PM.