I need to repeat a datagrid at runtime based on how much data and what data is being pulled from the database.
What I am trying to do is there could be multiple headings with multiple lines of data under each one. So basically a datagrid, but I don't know until runtime how many of these headings there will be.
My thoughts are at the basic level I could create 4 or 5 datagrids on the page and only show the ones that need to be shown, however I don't want to have any limit to how many there can be.
I have read about creating the datagrid on the fly but don't know where to start.
I also read in a thread out on the internet through Google about using a repeater with a datagrid in the ItemTemplate, but there was no example so I really again don't know where to start.
I am using vb.net
Thanks for any ideas to get me started!
Tim