Datagrid

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

    #1

    Datagrid

    Can someone tell me how to clear a DataGrid? I would like to redisplay the
    data after it has been edited. I select the data into and edit window and
    then do some editing. and then I refill the datagrid, I then get dups.

    Please help
    --
    Norm Bohana
  • Peter Bromberg [C# MVP]

    #2
    RE: Datagrid

    Easiest way is to Set the DataSource to an empty DataSet or dataTable and
    rebind the grid (if ASP.NET, Winforms, only need to set the DataSource).
    Peter

    --
    Co-founder, Eggheadcafe.com developer portal:

    UnBlog:





    "nbohana" wrote:
    [color=blue]
    > Can someone tell me how to clear a DataGrid? I would like to redisplay the
    > data after it has been edited. I select the data into and edit window and
    > then do some editing. and then I refill the datagrid, I then get dups.
    >
    > Please help
    > --
    > Norm Bohana[/color]

    Comment

    Working...