P
Paul Aspinall
Hi
I have built a very simple page, which takes data via TextBox controls, and
updates to a Dataset.
I've used the Data Access Blocks (v2), to help with functionality, and to
build a DAL.
Part of my code takes the form:
ds.tables(0).rows(0)("FirstName") = Firstname.Text
There is only one record in the dataset, so this updates the record with the
value the user entered in the TextBox.
However, it doesn't.....
When I debug, the value of Firstname.Text is the value it was when the page
opened, and not the value that is Currently in it.
I have changed the code to :
ds.tables(0).rows(0)("FirstName") = "Test Value"
And this gets wrote out successfully.
It appears that my textbox does not update its value, when the user changes
its value.
Seems strange.... Am I doing something wrong?
Thanks
Paul
I have built a very simple page, which takes data via TextBox controls, and
updates to a Dataset.
I've used the Data Access Blocks (v2), to help with functionality, and to
build a DAL.
Part of my code takes the form:
ds.tables(0).rows(0)("FirstName") = Firstname.Text
There is only one record in the dataset, so this updates the record with the
value the user entered in the TextBox.
However, it doesn't.....
When I debug, the value of Firstname.Text is the value it was when the page
opened, and not the value that is Currently in it.
I have changed the code to :
ds.tables(0).rows(0)("FirstName") = "Test Value"
And this gets wrote out successfully.
It appears that my textbox does not update its value, when the user changes
its value.
Seems strange.... Am I doing something wrong?
Thanks
Paul