Aspxgridview updating rows

Text could not avoid the cell numbering :/ somehow select Row. I just tested that Protected Sub Wr_Updated(By Val sender As Object, By Val e As System. This, however, doesn't work because my grid has a composite Key Field Name (because the table it's based on has a primary key made up of two columns).This results in the Find Visible Index By Key Value method always returning -1. 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. New Values("Location ID"); ok the the update worked when I assign a mock value.. A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.

Net is useful for displaying large data in a tabular format.

PS: location name is not an integer You don't access the table cells by name. So, basically, instead of looking for table cells, look for the appropriate e. New Values Hi mckrecker, thanks for your reply but I dont need to differ between old and new values since I set a datakey which is the unique ID in my db and I update where unique ID = @unique IDselected of column.

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'm trying to create a custom edit script for my ASPx Grid View.

I have a second grid in which I used the code below to obtain the row that has been updated.

Search for aspxgridview updating rows:

aspxgridview updating rows-77

Leave a Reply

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

One thought on “aspxgridview updating rows”