Dynamically creating gridviews in ASP.NET with VB
Posted on 2007-11-22
I am trying to create an .aspx page which will dynamically create gridviews. I will be passing an Event ID into the page. There will be a different number of performers for each event so I will need to query the database for this. The number of performers will correspond to the number of gridviews required on the page.
Each gridview will display the information associated with each performer. So the datasource for each gridview will be based on the performer id.
How can I dynamically create each gridview along with the corresponding datasource?
Thanks for the help!