J
Juan Romero
Hey guys, please HELP
I am going nuts with the datagrid control.
I cannot get the damn control to refresh. I am using soap to get information
from a web service. I have an XML writer output the file to a folder, and
then I read it back into the dataset using the dataset1.readxml. Up to this
point, everything works wonderfully. The query executes, the dataset gets
populated, and I get the results displayed in the datagrid.
The problem:
When I run another query, everything goes as before expect that the datagrid
columns WON'T REFRESH. I can see the data changes, but the columns remain,
and since the columns don't match any other column in the new set,
everything is (null).
How do I REFRESH the grid columns?.... I mean, I have tried everything, I
have called the dataset.clear() method, I have called the
dataset.table.clear() method, I have unbound the grid from the datasource
and rebound again, deleted all tables, etc etc etc. I just can't get rid of
the damn columns.
Please help, it's been a long weekend and it is getting frustrating.....
Thank you in advance.
Regards.
I am going nuts with the datagrid control.
I cannot get the damn control to refresh. I am using soap to get information
from a web service. I have an XML writer output the file to a folder, and
then I read it back into the dataset using the dataset1.readxml. Up to this
point, everything works wonderfully. The query executes, the dataset gets
populated, and I get the results displayed in the datagrid.
The problem:
When I run another query, everything goes as before expect that the datagrid
columns WON'T REFRESH. I can see the data changes, but the columns remain,
and since the columns don't match any other column in the new set,
everything is (null).
How do I REFRESH the grid columns?.... I mean, I have tried everything, I
have called the dataset.clear() method, I have called the
dataset.table.clear() method, I have unbound the grid from the datasource
and rebound again, deleted all tables, etc etc etc. I just can't get rid of
the damn columns.
Please help, it's been a long weekend and it is getting frustrating.....
Thank you in advance.
Regards.