.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 10th, 2002, 09:10 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Help needed on DataGrid

<i><b>Originally posted by : Ross (lingfoo@hotmail.com)</b></i><br />Hi,<br />I've recently taken up ASP.NET for our company development and everything seems to be working fine until I tried to update the Datagrid.<br /><br />The call to the Update Event handler does not seems to pass back the updated value from the Edit Text box, wheres, the old value was given.<br /><br />public void UpdateCommand(Object sender, DataGridCommandEventArgs e) <br /><br />

Reply With Quote
  #2  
Old April 12th, 2002, 01:30 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : Ctau</b></i><br />Hi Ross,<br />One thing you might check for is that you are not over writing your data on the postback. After some one triggers your update event the first procedure that will be called is the page load event and then your update event will be called. So if your not carefull you can easily over write the changed value with the original. <br /><br />Also, make sure that the update sub is being called. Hope this helps! <br /><br />Ctau<br /><br />------------<br />Ross at 4/10/2002 6:10:36 AM<br /><br />Hi,<br />I've recently taken up ASP.NET for our company development and everything seems to be working fine until I tried to update the Datagrid.<br /><br />The call to the Update Event handler does not seems to pass back the updated value from the Edit Text box, wheres, the old value was given.<br /><br />public void UpdateCommand(Object sender, DataGridCommandEventArgs e) <br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Help needed on DataGrid


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT