By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

DataGrid Clear after formating

P: n/a
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

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

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

Ken
-----------
"Thomas Beyerlein" <tb***@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
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

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.