In rowupdating in

Bind Data() End Sub I know that this is not an UPDATE but an INSERT.

I don´t know the names of the auto generated Grid View Textboxes." If you want to use the new values on Row Updating then forget about the controls and use e. I found if I set enable View State of the gridview to false I can get the NEW values of the like this: e.

New Values(1) End Sub Private Sub Grid View1_Row Updating(sender As Object, e As Grid View Update Event Args) Handles Grid View1.

New Values(1) End Sub You wrote: "The Problem is not to find the controls. Row Updating 'Retrieve the table from the session object. Connection Strings("Berichtsdurchlauf Connection String"). Connection String Dim verbindung As New Sql Connection(connection String) Dim sqlanweisung As String = "INSERT INTO tbl Abgesandt NA (Listenart, Verband) VALUES (@Listenart, @Verband)" Dim sqlbefehl As New Sql Command(sqlanweisung, verbindung) verbindung.

I don´t know the names of the auto generated Grid View Textboxes." If you want to use the new values on Row Updating then forget about the controls and use e. I bound my gridview to a dataset like you're doing.

If it is have you tried breaking in the rowupdating even and checking the value against the Value? If it is have you tried breaking in the rowupdating even and checking the value against the Value? Afer I finally realized what problems you were facing I got po'd and set up a project just to figure this out.

Leave a Reply