Posted on: 4/1/2014 4:11:01 AM | Views : 464

On the left side, I have 3 labels that display the data according to the database. I want to whenever I delete a record in the gridview, the label will automatically refresh. I do not want to click on the browser refresh button to refresh the labels and I don;t want to use response.redirect as If refresh the page, will make the record deleted text disappear.I already create a method called UpdateLabel() and I put it in the grdEvent_RowUpdating and it works, whenever i edit, it will refresh the labels. But If i put the UpdateLabel() method in the grdEvent_RowDeleting, it doesn't work, whenever i delete a record, it will not refresh the labels. why?

Click delete button on gridview, and this will pop up 

After clicking the ok button at the pop up. 
Go to the complete details ...