mohit saxena
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
By mohit saxena in ASP.NET on Jan 23 2009
  • anitha patibandla
    Jan, 2009 26

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

     

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS