Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to read current updating value in the dataGrid

Posted on 2011-03-03
2
277 Views
Last Modified: 2012-05-11
Hello guys,

I have tried everything and Now I am coming to you for help. I have a datagrid and I am updating it. I want to read the value that datagrid is being updated with and I am reading it on

Grid_rowupdating event with e.newvalues and all I get is the old value.

How can I just read the value being updated?
0
Comment
Question by:TheCommunicator
2 Comments
 
LVL 13

Accepted Solution

by:
agarwalrahul earned 500 total points
ID: 35033670
Just Check that you when you bind your Datagrid on Not ispostback event in

Page_load and after clicking on update button make sure that datagrid

 is not bind again before the Grid_rowupdating fires. This happen only when

you bind the Datagrid before the Grid_rowupdating event fires which setthe

Datagrid values to previous values.
0
 

Author Comment

by:TheCommunicator
ID: 35112554
I am sorry for the late reply. You were absolutely right. That was the issue.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question