Thread: Deleting the selected data from datagrid ?

  1. #1
    Registered User Aga^^'s Avatar
    Join Date
    Aug 2008
    Posts
    71

    Deleting the selected data from datagrid ?

    i want to delete a row or rows which i select from the datagrid. How can i do it ?

    http://img15.imageshack.us/my.php?image=datagridkr1.jpg
    Last edited by Aga^^; 02-12-2009 at 06:42 AM.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Look at the properies of the datagrid. Check if it has some Delete/Remove property or method. If not, check for a Rows-property and see if that has some Delete/Remove property/method. If you find one check its documentation, either through intellisense or on the web (msdn).

    That's how I would tackle it if I didn't know how to delete.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  2. Replies: 3
    Last Post: 04-18-2008, 10:06 AM
  3. Deleting all data in a struct array
    By grimuth in forum C++ Programming
    Replies: 11
    Last Post: 03-29-2008, 11:02 PM
  4. Dynamic data members?
    By confusalot in forum C++ Programming
    Replies: 4
    Last Post: 02-27-2005, 11:15 AM
  5. All u wanted to know about data types&more
    By SAMSAM in forum Windows Programming
    Replies: 6
    Last Post: 03-11-2003, 03:22 PM