Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Delete button with Data grid

Delete button with Data grid

Scheduled Pinned Locked Moved WPF
csshelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ravi vellanky
    wrote on last edited by
    #1

    Hi, I've a datagrid contains a list of items (Check boxes, link buttons and normal text) and a delete button above the datagrid. After check the check boxes (one or more), i have to delete those rows from the datagrid by clicking the delete button which is placed above the datagrid.. How to achieve this .......... Pls help me out....... Regards, Ravi Vellanki

    A 1 Reply Last reply
    0
    • R ravi vellanky

      Hi, I've a datagrid contains a list of items (Check boxes, link buttons and normal text) and a delete button above the datagrid. After check the check boxes (one or more), i have to delete those rows from the datagrid by clicking the delete button which is placed above the datagrid.. How to achieve this .......... Pls help me out....... Regards, Ravi Vellanki

      A Offline
      A Offline
      Anudeep Jaiswal MCA
      wrote on last edited by
      #2

      Use Foreach Loop And Make a string which have all id of that rows. after that send this string in a stored procedure which use delete DML with IN clause. i think your problem is solved...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups