Results 1 to 2 of 2

Thread: Remove,clear !

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2007
    Posts
    192

    Remove,clear !

    Have anyone example how to remove or clear data from datagrid.
    In vb6 a have GridCtrl1.RemoveItem 0 .

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Remove,clear !

    How did you get the data into the grid in the first place? Is it bound? If so then you need to remove the data from the data source and the grid will reflect the change. Also, are you just wanting to remove one row or all data?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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