refresh datagridview control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siri11
    New Member
    • Sep 2007
    • 38

    refresh datagridview control

    Hi all..

    How to refresh a datagridview control in c#.net so that,the grid becomes empty with empty rows and columns.And if incase any background color is applied to any of the grid row or column should become white after refreshing.
    datagridview1.R efresh(); doesn't work.

    Thanks in advance
    siri
  • madankarmukta
    Contributor
    • Apr 2008
    • 308

    #2
    Hi,
    to refresh the datagridview.. just refresh/clear out the datasource binded with the datagridview.

    Comment

    Working...