DataSource Control for List<T>

Posted by diamandiev on Stack Overflow See other posts from Stack Overflow or by diamandiev
Published on 2010-03-26T02:15:42Z Indexed on 2010/03/26 2:23 UTC
Read the original article Hit count: 452

Filed under:
|
|
|

I know all the data source controls like LinqDataSource, ObjectDataSource etc.

They are cool but they are intended to be used in conjunction with a database.

I actually need a simple data source control that can work with a plain old List (That supports delete, update, select, insert ofcourse).

I was thinking of using the objectdatasource but the select, update... methods are not present in the List.

So is there such a control or do i have to roll my own? Should i inherit from the objectdatasource?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-forms