private void button1_Click(object sender, EventArgs e)
{
DataGridView grd = new DataGridView();
Point pt = new Point(0, 0);
grd.RowCount = 2;
grd.ColumnCount = 2;
grd.Location = pt;
grd.Visible = true;
this.Controls.Add(grd);
}
Just set all the DataGridView properties you need. Hope this helps. :)