T
Tina
(please ignore my earlier post - it apparently had nothing to do with it
being in an ascx control)
I have, dozens of times, displayed datagrids, datasourced by an .xsd
dataset, with textboxes in template columns and always been able to spin
through those grids on, say a button click event.
In a new project I am dynamicaly populating the datagrid columns, after
which I retrieve data and do the following...
da.fill(DataSet1) 'this is an untyped dataset
dg.datasource = DataSet1
dg.Databind()
At this point my datagrid displays exactly like I want it to.
BUT, on the button click event (which occurs after the user might changes
some fields) my datagrid is empty!!!!
This brings up a question: How was it that I am able to get the grid back in
my other dozen programs where the grid is datasourced by a .xsd dataset?
Why doesn't the grid contents (as changed by the user) exist in the click
event?
Thanks,
T
being in an ascx control)
I have, dozens of times, displayed datagrids, datasourced by an .xsd
dataset, with textboxes in template columns and always been able to spin
through those grids on, say a button click event.
In a new project I am dynamicaly populating the datagrid columns, after
which I retrieve data and do the following...
da.fill(DataSet1) 'this is an untyped dataset
dg.datasource = DataSet1
dg.Databind()
At this point my datagrid displays exactly like I want it to.
BUT, on the button click event (which occurs after the user might changes
some fields) my datagrid is empty!!!!
This brings up a question: How was it that I am able to get the grid back in
my other dozen programs where the grid is datasourced by a .xsd dataset?
Why doesn't the grid contents (as changed by the user) exist in the click
event?
Thanks,
T