DataGridView Control

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

    #1

    DataGridView Control

    Can someone show me how to delete all the items within my gridviewcontrol so
    I can repopulate with new data?

    Thanks


  • TR

    #2
    Re: DataGridView Control

    Are you referring to the standard Datagrid?? If so, then you would use <name
    of your dataset>.clear( )
    ex: dsDataset1.clea r()

    "dm1608" <dm1608@spam.ne t> wrote in message
    news:u0JUMUO$FH A.272@tk2msftng p13.phx.gbl...[color=blue]
    > Can someone show me how to delete all the items within my gridviewcontrol
    > so I can repopulate with new data?
    >
    > Thanks
    >[/color]


    Comment

    • GreggMB

      #3
      RE: DataGridView Control

      This is (can be) done 'automatically" by DataGridView - take a good look at
      all available properties of this control.

      "dm1608" wrote:
      [color=blue]
      > Can someone show me how to delete all the items within my gridviewcontrol so
      > I can repopulate with new data?
      >
      > Thanks
      >
      >
      >[/color]

      Comment

      Working...