Solved

How to read current updating value in the dataGrid

Posted on 2011-03-03
2
276 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp day pilot 3 19
performance issue in asp web 5 31
application restarter  - for an exe that hangs 9 26
vb.net and creating a class 5 16
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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