Bound DataSet not showing changes on Web Form

  • Thread starter Thread starter JS
  • Start date Start date
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
 
Hi

For WebApplications the DataBinding is readonly. The developer is
responsible to reflect the Changes.

HTH
Prasad
 
Back
Top