Discussion:
Data from textbox before update ...
Gabriel
2007-04-26 08:11:22 UTC
Permalink
Hello,

On a form I have several textboxes. At the bottom of this page a button.

When I click on this button I recover all the data from the textboxes and
put them in a class and I do an update.

I change the content of one textbox, when I click on save, then I do this :

myclass.FirstName = textboxFirstName.text
...
...
...
myclasse.Update();

The textboxFirstName.text has still the same value than before no change.
The update works because when I force to change value via the debugger
that's work.

Is there a way to solve that ?


Thanks,

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Efran Cobisi
2007-04-26 08:25:40 UTC
Permalink
Hi Gabriel,

Could you show us a more meaningful code block of your page?
Thanks.

--
Efran Cobisi
http://www.cobisi.com
Post by Gabriel
Hello,
On a form I have several textboxes. At the bottom of this page a button.
When I click on this button I recover all the data from the textboxes and
put them in a class and I do an update.
myclass.FirstName = textboxFirstName.text
...
...
...
myclasse.Update();
The textboxFirstName.text has still the same value than before no change.
The update works because when I force to change value via the debugger
that's work.
Is there a way to solve that ?
Thanks,
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Gabriel
2007-04-26 08:52:11 UTC
Permalink
Post by Efran Cobisi
Could you show us a more meaningful code block of your page?
Thanks.
Sorry for the noise, It's my mistake, I clean textvoxes with old data

Thanks,

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Loading...