hii friends , i want your need . actually i want to create datagridview control dynamically . plz chk following code
d1.DataSource = ds.Tables[0];
d1.Show();
this code didn't give me any error but does not show any control on to the form