Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 4th, 2004, 03:32 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default Data Grid edit problem

Hi,

  Why am unable to edit the record from the data grid.
I did all the ways. When i display the query its displaying the old values only.

bName=e.item.cells(2).controls(0),textbox).text

this is returning the old values only eventhough i have entered new value. When i click edit, textbox is displaying to edit. After clicking update its doing operation but with the previous value only.
What could be the problem?


------------
Thanx in advance

  #2 (permalink)  
Old December 6th, 2004, 08:02 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

Are you populating the data again on PostBack in you Page_Load?? Where have you written code to bind the datagrid?

Regards
Ganesh
  #3 (permalink)  
Old December 8th, 2004, 09:34 AM
Authorized User
 
Join Date: Mar 2004
Location: Rawang, Selangor, Malaysia.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you check your DB whether the data has been updated? If not, can you check on the SQL statement that you've done?



Similar Threads
Thread Thread Starter Forum Replies Last Post
data save problem from flex grid naveed77 Pro VB 6 0 December 28th, 2007 02:37 AM
enable/disable checkbox in data grid on edit maddy137 ASP.NET 1.0 and 1.1 Professional 3 January 8th, 2007 01:28 AM
Data Grid Problem rajvijaygarg C# 0 June 19th, 2006 09:34 AM
hiding grid edit mode msrnivas .NET Web Services 0 November 8th, 2004 04:59 AM
set with on edit grid johanyu Classic ASP Basics 2 October 30th, 2004 05:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.