All I did in this article is demonstrating the basics of data binding and some collection management in server controls. Obviously, you can add more binding features like XML and such but that will take some code. You might not even like the idea of the internal data source being a DataTable but you are free to turn to another “medium”… as long as it can be an offline abstract of the data (like XML).
To summarize the article:
- Manipulate the given data in the DataSource property into one data type. For example, transform it into a DataTable.
- Use the transformed data to populate the sub-controls.
- Bind the sub-data to the
- Save the transformed data into view state so it can be used during post backs.
You might want to watch Scott Mitchell for a while because he is also going to roll out a similar article at the ASP.NET Dev Centre.