Data from textbox before update ...

Gabriel <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.