Rowupdating keys acceptable dating age range formula

Rated 3.93/5 based on 805 customer reviews

Row Updating event, doesn’t work as all samples say it should do.

All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.

The hash key is the key of corresponding column and the value is the new value to be set.

Which means I won’t make my 70% code reduction Microsoft has always promised me. retrieves the key/value of bound data in the gridview control only, and your drop-down-list it's not bound to your gridview but it is an external control. The hashtable contains former values of the row's cells.But for this demo, I’ll show you the simple version, that also doesn’t work 🙂Let’s bind the data to our Grid View and have it autogenerate our columns, as well as an edit button.When we edit a row in our Grid View and press the “Update” button, at some time it’s received in the Row Updating method.

Leave a Reply