54961 days on xHamster
99652M profile views
29989K subscribers
9094 comments left

Asp net gridview rowupdating firing twice

I have a Grid View and its Data Source is datatable. I can't seem to delete that row when I click the 'delete' button that invokes the event to remove the row.[code]... NET forums is how to deal with exceptions like The Grid View 'Grid View1' fired event Row Editing which wasn't handled.The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.

We’ll start with binding data to the Grid View, then build up functionality from there.

First, we’ll implement a method to databind the Grid View, which will be called whenever databinding needs to be performed.

We’re using Linq to SQL to pull data from our database and bind it to the Grid View.

We’ll revisit this method when we implement the sorting functionality.

We also need force databinding to occur when then page is loaded, which we’ll handle in Page_Load.

The required actions for paging to work are setting the new page index, setting the Data Source, and calling Data Bind (the last two through the Bind Data method).

Please or register to post comments
If spammers comment on your content, only you can see and manage such comments Delete all

Asp net gridview rowupdating firing twice introduction

Asp net gridview rowupdating firing twice

Recent posts

09-Feb-2019 23:32
10-Feb-2019 01:42
10-Feb-2019 11:25