Bound DataSet not showing changes on Web Form

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
 
P

Prasad

Hi

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

HTH
Prasad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top