Rowupdating gridview newvalues

rowupdating gridview newvalues-9

Thanks, Mike Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.

the good old problem of getting the data from the row that is being currently edited within a Grid View. Accessing the "Controls": This method gets you access to the control in the Grid View, which might be useful based on what you are doing.

First, I load up some data: After that, I’m doing some work to make my Grid View look beautifull, adding all columns by hand.

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.

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.