Whats better Dynamic cotrol or Gridview

Jun 3 2011 2:19 PM
Hi,
I am working on ASP.NET 4.0 using C#.
I have three table Route,Booth and Products. Every route has multiple booth. I have to make entry screen where user can select route and all booth and product should show on screen. First row will be show product name and first column will show as booth Name. The number of products are 32 and 30-50 booth possible in one route. 

I have tried to solve this issue using two ways.
First -> use panel add all control dynamically including html tables, tr, td,  label and textbox. too many control will be created at run time.
Second -> Use GridView, bind it using custom Template which implemented by ITemplate. In custom template textbox or Label will be created.

Q.1. Is any other way to solve this issue?
Q.2. Which why is right? I have to deploy this application on Internet.


Answers (2)