DataGrid Clear after formating

  • Thread starter Thomas Beyerlein
  • Start date
T

Thomas Beyerlein

Hello,
I am loading a dataGrid and formatting it with datagridtablestyle, but
when it loads different info it does not clear the old. With out the
formatting the code works. I have tried clearing the datagrid
tablestyles. Any other ideas would be helpful.

Thanks
Tom
 
K

Ken Tucker [MVP]

Hi,

Try setting the datagrid datasource to nothing before changing
it to the new datasource.

Ken
-----------
Hello,
I am loading a dataGrid and formatting it with datagridtablestyle, but
when it loads different info it does not clear the old. With out the
formatting the code works. I have tried clearing the datagrid
tablestyles. Any other ideas would be helpful.

Thanks
Tom
 

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