ASPxGridView -- How to simply add example values with only a DataSource property?

Posted by Earlz on Stack Overflow See other posts from Stack Overflow or by Earlz
Published on 2010-05-19T22:00:29Z Indexed on 2010/05/19 22:10 UTC
Read the original article Hit count: 483

Hello I have a ASPxGridView. In it(for the uninformed) is only a DataSource property for telling it what data to load. My problem is that I'm simply trying to mock up an example and don't need to tie it to an actual database. How would I do this? I basically just want a few rows and some columns but since it only takes a datasource I'm not sure how to do it. Would ObjectDataSource be what I'm looking for?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#