DataGrid Clear after formating

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Beyerlein

    #1

    DataGrid Clear after formating

    Hello,
    I am loading a dataGrid and formatting it with datagridtablest yle, 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 ***
  • Ken Tucker [MVP]

    #2
    Re: DataGrid Clear after formating

    Hi,

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

    Ken
    -----------
    "Thomas Beyerlein" <tbxml@yahoo.co m> wrote in message
    news:%23S%23pH0 qaFHA.3196@TK2M SFTNGP14.phx.gb l...
    Hello,
    I am loading a dataGrid and formatting it with datagridtablest yle, 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 ***


    Comment

    Working...