Solved

How to read current updating value in the dataGrid

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now