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. C / C++ / MFC
  4. DataGrid

DataGrid

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
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.
  • 1 Offline
    1 Offline
    123456uio
    wrote on last edited by
    #1

    Hi I´ve got the following doubt. I ñve got a datagrid that can be sorted. I have attached a dataset. For example. DataSet ds = new DataSet("JAMONES"); ds.COLUMN(nombre); ds.COLUMN(id); I have associated a ArrayList with all the JAMONES. I would like to delete the selected JAMON from JAMONES using the id. How can i do to indexed easily the ArrayList? ArrayList jamones = {jamon1, jamon2}; DataGrid jaomnesDG = {jamon2, jamon1}. I tried to delete jamon1. How can i delte from jamones. Best regards, John

    L 1 Reply Last reply
    0
    • 1 123456uio

      Hi I´ve got the following doubt. I ñve got a datagrid that can be sorted. I have attached a dataset. For example. DataSet ds = new DataSet("JAMONES"); ds.COLUMN(nombre); ds.COLUMN(id); I have associated a ArrayList with all the JAMONES. I would like to delete the selected JAMON from JAMONES using the id. How can i do to indexed easily the ArrayList? ArrayList jamones = {jamon1, jamon2}; DataGrid jaomnesDG = {jamon2, jamon1}. I tried to delete jamon1. How can i delte from jamones. Best regards, John

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Did I miss something? There is a "DataSet" in MFC? :confused:

      led mike

      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