I want to ask a question about how to do swap in ASP.net encoding using C #.
the thing I'm trying to do is that I want to display some content, have multiple columns and multiple rows.
in the code itself, I have a list of objects, let's say Object A
class A {
integer id;
string name;
string desc;
}
and want to display it on a page with available features.
I do a search on Google, ASP.net offers gridview and listview, but they all require a data source, which means the table is directly bound to the database.
This is not what I want, because my list of A objects comes from some other, and not from my database (for example, this is a composite set of data that is generated at runtime)
so that I can still use these benifit components, or should I do it all on my own to swap ???
THX
source
share