Display dynamic data using GridView/DataList
<p>I need to build a form that shows data is the following format:</p>

<pre><code>          M(1 Nov), T(4 Nov), S(7 Nov) etc
user 1    yes/no    yes/no    yes/no   yes/no
user 2    yes/no    yes/no    yes/no   yes/no
</code></pre>

<p>The yes/no will be represented by a check box and there will be Monday, Thursday and Sunday columns for each occurrence within the month - dynamically worked out.  I was planning on using Anonymous Type's as explained <a href="http://www.codeproject.com/KB/cs/AnonymousTypesInCSharp.aspx" rel="nofollow">here</a> to represent the data.  Is this a sound approach?  My problem is how to display this using a GridView or DataList control.  If the data structure is dynamic, how can I configure the GridView/DataList control to bind to the data?</p>

<p>Is there a better approach to what I'm trying?</p>
