Hi

Place one dataGrideView , oneTextBox and One Button for "Add Rows"

 and goto Button Click event and Write below Code

int x;

x = Int32.Parse(textBox1.Text);

dataGridView1.Rows.Add(x);