J
JS
I have a WebForm with databound WebControls (textboxes). I added a typed
DataSet being filled via a class object that provides the data access. In
my page load event I fill the form's dataset:
FormDataSet.Merge(oDBClass.GetDataSet() )
then
DataBind()
Works great - fills the data into the form for the client as expected. I
then type data into the web form and click submit.
In the Submit button's code I run GetXML on the bound dataset and I don't
see the change???
I am assuming that this bound dataset would contain the result of the user
operations on the form after a submit. Am I wrong and perhaps I need to
loop through the webcontrols and manually stuff the data into the Dataset
prior to sending it to the database?
Any ideas appreciated.
Thanks.
Jack
DataSet being filled via a class object that provides the data access. In
my page load event I fill the form's dataset:
FormDataSet.Merge(oDBClass.GetDataSet() )
then
DataBind()
Works great - fills the data into the form for the client as expected. I
then type data into the web form and click submit.
In the Submit button's code I run GetXML on the bound dataset and I don't
see the change???
I am assuming that this bound dataset would contain the result of the user
operations on the form after a submit. Am I wrong and perhaps I need to
loop through the webcontrols and manually stuff the data into the Dataset
prior to sending it to the database?
Any ideas appreciated.
Thanks.
Jack