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

Re: Bound DataSet not showing changes on Web Form by Prasad

Prasad
Mon Jul 28 23:43:24 CDT 2003

Hi

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

HTH
Prasad

"JS" <j#s.com> wrote in message
news:uX3Cz7VVDHA.2212@TK2MSFTNGP12.phx.gbl...
> 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
>
>