How do I dynamically create a DataGridView in C#? Could you please provide an example?
GridView gv = new GridView(); gv.datasource = dt; gv.databind();
and then place this gv in panel or div or table coloumn.
You can check this link http://www.ehow.com/how_5212306_create-datagridview-c.html