0

I want to delete the data from the Grid and when I insert the new data it should be display in grid.This should happen when the page load occurs.I tried this code.

 protected void Page_Load(object sender, EventArgs e)
    {
        Gv1.DeleteRow(6);
     }
Kevin Andrid
  • 1,963
  • 1
  • 15
  • 26
  • what did you tried to achieve this ? try google first. Also post some code to let us know. – Nad Mar 18 '15 at 06:28
  • Try some basic asp.net tutorials. There are plenty out there that cover the basics such as this. – Jon P Mar 18 '15 at 06:37

1 Answers1

0

After you do any modification on GridView you have to call the Update method to reflect the changes.

Rahatur
  • 3,147
  • 3
  • 33
  • 49