Gridview rowupdating not retrieving newvalues
Adapt to match the actual type.) Also note that values for Read Only fields will not make it into these Dictionaries.
Unless they are Key fields, there isn't really a way to get to these. Data Bind in Row Updating (or at least before the Update is actualy processed) is better not done. Please remember to click “Mark as Answer” on the post that helps you.
(This posting is provided "AS IS", with no warranties, and confers no rights.) -------------------- | NNTP-Posting-Date: Thu, -0600 | From: Mark Olbert | Newsgroups: microsoft.public.dotnet.framework.aspnet | Subject: Grid View: Empty Old Values, New Values | Date: Thu, -0800 | Organization: Olbert & Mc Hugh, LLC | Reply-To: ma**@| Message-ID: | X-Newsreader: Forte Agent 3.1/32.783 | MIME-Version: 1.0 | Content-Type: text/plain; charset=us-ascii | Content-Transfer-Encoding: 7bit | Lines: 11 | X-Trace: sv3-Wkra Mt184x GJ5k Ku M MN7j XAQ3s JZ047p A4gc7d Sp Ek9As0t2A 6r Yev/3ngn BCYGg IVo Ysh Z Q/6LIx G! Regards, Steven Cheng Microsoft Online Support Get Secure!
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.
Find Control("txtqty") Dim txtdescription As Text Box = gvr. However, your problem may have more to do with the fact that you Data Bind the Grid View in Row Updating. This can be beneficial to other community members reading the thread.
This can be beneficial to other community members reading the thread.
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.