Gridview rowupdating textbox

23-Oct-2019 13:50

I don't need to write any custom code and all the columns I have selected in my query will be appeared as it is in my Grid View.

Ok, Now what my target is, I will have some rows in my Grid View and initially it will be read only.

The editable fields of the row will change into edit mode and the "Edit" button will disappear.

Instead of "Edit" button, three more buttons will come to the picture which will be "Update","Delete" and "Cancel".

And in each each row, there will be a single column which will be used to modify the selected row.

It will have a single button in read only mode which is "Edit", And when I click on Edit, the row will change into Edit mode.

Since you are not using the datasource controls(which is a good thing), the Old Values and New Values collections will not be populated automatically.

gridview rowupdating textbox-54

radiocarbon dating an archaeological perspective

Please note that in here I will be writing only the necessary codes.

Protected Sub Grid View2_Row Updating(By Val sender As Object, By Val e As System.

The Egyptian language became widely used in everyday activities.… continue reading »

Read more