It's a bit different of a set up, as all the controls are in a single column (maybe this is causing the problems? I do not receive any runtime errors, so it must be logic. ASP The order in which your events are firing might be the problem.

A Grid View Updated Event Args object is passed to the event-handling method, which enables you to determine the number of rows affected and any exceptions that might have occurred.

You can also indicate whether the exception was handled in the event-handling method by setting the On Row Updated Row Canceling Edit On Row Canceling Edit Row Deleted On Row Deleted Row Deleting On Row Deleting Row Editing On Row Editing Row Updating On Row Updating Grid View Class System.

On Cell Mouse Double Click event my second Form2 appearing.

2) My datagridview is already filtered, so if I execute procedure again, my filter has been disapeared. 3) On Form2 I'm updating some database value, that is not included in my "select query" as selected field, but this value is affected on this query. So after updating I want to see my new data in datagridview, only in selected row and with current filter. Because the Data Grid View is using Data Binding, you have to update the underlying data source, in this case the Data Table.

Edit Index = -1 'Bind data to the Grid View control. Sql Command Dim sql As String Dim reader As System.

Sql Command Dim sql3 As String Dim reader3 As System.

In my VB Gridview, I had bind several column from datatable into one single column of the gridview. The following is the VB code: Protected Sub Grid View1_Row Editing(By Val sender As Object, By Val e As Grid View Edit Event Args) 'Set the edit index. Bind Data() End Sub Protected Sub Grid View1_Row Canceling Edit(By Val sender As Object, By Val e As Grid View Cancel Edit Event Args) 'Reset the edit index. Edit Index = -1 'Bind data to the Grid View control.

But I have no idea how to get those value when doing Row Editing & Row Updating. Bind Data() End Sub Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) 'Retrieve the table from the session object.

event is raised when a row's Update button is clicked, but before the Grid View control updates the row.