Satish Hirpara

Satish Hirpara

  • 1.5k
  • 256
  • 42.1k

RowDeleted and Rowdeleting difference

Jun 8 2013 5:33 AM
Hello ,

        i want to know what is the main difference between RowDeleted and Rowdeleting event of gridview . i meant if rowdeleted is used after one perticular row is deleted then we can do that with the rowdeleting event too.
        For example : 
protected void gvList_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
Delete row();

-------- Here we can write the same code which we suppose to write under Rowdeleted
event of gridview then why we are using gridview RowDeleted() event. -----
}

i have same question for other events like Rowupdating/rowupdated,
PageindexChanging/PageindexChanged etc ..

Plz plz reply and thnx in advance


Answers (4)