I need to create datagrid at runtime in and add it to one new tab.
C# 3.0 -- .net 3.5
Any starting point?
You can do this much the same as creating any control at runtime.
DataGridView dg = new DataGridView();
dg.ID = "grid";
....Other properties
this.tab.Controls.Add(dg);
Just remember when dynamically creating controls they must be re-created on each postback