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. Visual Basic
  4. Editing subitems in Listview in VB.NET

Editing subitems in Listview in VB.NET

Scheduled Pinned Locked Moved Visual Basic
csharptutorial
2 Posts 2 Posters 1 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.
  • U Offline
    U Offline
    User 863269
    wrote on last edited by
    #1

    Can anybody suggest as how to edit a subitem in VB.net listview control

    J 1 Reply Last reply
    0
    • U User 863269

      Can anybody suggest as how to edit a subitem in VB.net listview control

      J Offline
      J Offline
      John Kuhn
      wrote on last edited by
      #2

      By "edit" do you mean allow the user to interactively change the value of a subitem in column 2,3,...,N? Or, do you mean simply set the value of the subitem, as in ListView1.Items(0).SubItems.Item(1).Text = "X" Unfortunately, according to the .NET Framework documentation, "Unlike ListViewItem objects, ListViewItem.ListViewSubItem objects cannot be edited directly by the user"

      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