1
Reply

Suppose i have entered a number in textbox and that same number of rows should be added in the GridView at Runtime. How can i achieve it. Please any one tell me Thanx in Advance

mohit saxena

mohit saxena

15y
3.5k
0
Reply

    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);