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.

Search for how to get the datakeynames value in the rowupdating event:

how to get the datakeynames value in the rowupdating event-42

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “how to get the datakeynames value in the rowupdating event”

  1. On Friday, authorities said 29-year-old Terrell David Thomas, who fled from the area to New York, has been transported back to North Carolina and is in the Cabarrus County Jail. Saturday, November 28, officials said 43-year-old was shot in the back, leaving him paralyzed from the thighs down.