How to get the datakeynames value in the rowupdating event
New Values -- it will have all the values, as does e. There are two in that event so data source controls can differnitate bewteen the two.
I just need to get it working with the "real" one from the gridview row Sql Data Source Locations. Add("Location Name Update", Type Code.[String], "dd") Dim select Row As Grid View Row = Grid View Locations.
To do that we need a Row Editing event of the Grid View.I am just wondering how to access the cell value for the row updating (event = Gridview. To String Message="Conversion from string "Location Name" to type 'Integer' is not valid." I would prefer to get the cells by name rather then by location e.g. Keys is an array of all the data keys you define for the gridview (Data Key Names="id", where "id" is the field name from your database query) e. Old Values are arrays of all the fields in the gridview data source that are NOT leys, where, as you might guess, e. New Values("Location ID"); ok the the update worked when I assign a mock value.. Text could not avoid the cell numbering :/ somehow select Row.