Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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
 
Old May 2nd, 2006, 07:52 PM
Registered User
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Editing Multiple Rows At Once(Datagrid)

I've implemented the topic "Editing Multiple Rows At Once"
from the following page:
http://msdn.microsoft.com/library/de...verControl.asp

However, If I change any value, and try to get these new values by using the FindControl function, I always get the original values, not the new ones.
Example:

If I change the title of the first book from "Pascal's Revenge" to "Title 2",
then i use the following code to get the new title

TextBoxTitle = (TextBox) dgi.FindControl("TextBoxTitle");
newTitle = TextBoxTitle.Text;

It still brings the previous value "Pascal's Revenge".

What do I have to do to get the new value?
I'm using ASP.NET 1.1
VS 2003, version 7.1.3088

Thanks!









Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting multiple rows from datagrid to database ashish0512 ASP.NET 1.x and 2.0 Application Design 2 August 25th, 2012 02:09 AM
Editing all GridView rows Abbas ASP.NET 2.0 Professional 4 March 3rd, 2012 02:19 PM
Editing all GridView rows Abbas C# 2005 0 November 29th, 2006 03:52 PM
print multiple times..multiple rows... abhit_kumar JSP Basics 3 January 18th, 2005 07:11 PM
Updating multiple Rows from multiple fields in ASP vdm_nana SQL Server ASP 0 April 1st, 2004 04:26 AM





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