create asp:listview programmatically

  • Thread starter Thread starter Carlo Marchesoni
  • Start date Start date
C

Carlo Marchesoni

I was searching for a sample or tutorial on how to build a ListView with it's
Templates and Datasources programmatically but without success.
I think of building a generic Viewer of data, but columns and datasource ar
not known at design time, so they have to be build dynamically in code-behind.
Does somebody know where to find something ?
 
Thanks Eliyahu - great walk thru.

Eliyahu Goldin said:
This article is quite old but is still actual:

Creating Web Server Control Templates Programmatically
http://msdn.microsoft.com/en-us/library/aa289501.aspx

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


Carlo Marchesoni said:
I was searching for a sample or tutorial on how to build a ListView with
it's
Templates and Datasources programmatically but without success.
I think of building a generic Viewer of data, but columns and datasource
ar
not known at design time, so they have to be build dynamically in
code-behind.
Does somebody know where to find something ?
 
Back
Top