Results 1 to 3 of 3

Thread: remove rows from datagrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    China
    Posts
    7

    remove rows from datagrid

    I want to be able to remove all the rows in the datagrid when a button is clicked.

    Any suggestions are appreciated.

  2. #2

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    China
    Posts
    7

    Got the solution

    I set the datasource to nothing and the rows disappeared

  3. #3
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    In that case the row headers will be removed too, I wonder what is the use of that.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width