Gridview rowupdating not giving new values

Rated 3.81/5 based on 995 customer reviews

When all you've got is a Hammer, Every Problem looks like a Nail. Since you are already getting a Row Updating event, I'll work from there.

gridview rowupdating not giving new values-17

gridview rowupdating not giving new values-90

gridview rowupdating not giving new values-31

gridview rowupdating not giving new values-40

Find Control("txtdescription") Dim txtunit_price As Text Box = gvr. Edit Index = -1 'Bind data to the Grid View control. When all you've got is a Hammer, Every Problem looks like a Nail. Since you are already getting a Row Updating event, I'll work from there.

This has dictionaries for key-, old- and new-values.

The event has event-arguments of type Grid View Update Event Args.

That worked but the strange thing is that the Update Dictionary function is called twice.

The first time with the old values, the second with the new values.

Leave a Reply