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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. how to identify multiple selected rows in datagrid

how to identify multiple selected rows in datagrid

Scheduled Pinned Locked Moved Visual Basic
csharphelptutorialannouncement
4 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.
  • A Offline
    A Offline
    ajay bharti
    wrote on last edited by
    #1

    HELLO I AM DEVELOPING VB.NET PROJECT IN WHICH I HAVE TO IDENTIFY MULTIPLE SELECTED ROWS (USING CONTROL KEY AND HAVE TO UPDATE COLUMN OF ALL SELECTED ROWS).I DID UPDATE SINGLE ROW AT A TIME BUT I NEED TO UPDATE MULTIPLE ROWS AT A TIME(BATCH UPDATION).THIS IS VERY URGENT ,I NEED YOUR HELP. hi this ajay bharti

    D 1 Reply Last reply
    0
    • A ajay bharti

      HELLO I AM DEVELOPING VB.NET PROJECT IN WHICH I HAVE TO IDENTIFY MULTIPLE SELECTED ROWS (USING CONTROL KEY AND HAVE TO UPDATE COLUMN OF ALL SELECTED ROWS).I DID UPDATE SINGLE ROW AT A TIME BUT I NEED TO UPDATE MULTIPLE ROWS AT A TIME(BATCH UPDATION).THIS IS VERY URGENT ,I NEED YOUR HELP. hi this ajay bharti

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      First of all, STOP YELLING! People are trying to write code around here... Next, what version of VB.NET are you using and what control are you using to display and select these records? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        First of all, STOP YELLING! People are trying to write code around here... Next, what version of VB.NET are you using and what control are you using to display and select these records? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        A Offline
        A Offline
        ajay bharti
        wrote on last edited by
        #3

        i am using visual studio.net 2003 and using datagrid control.if i would use component one through database grid then how to identify multiple selected rows. i have update a particular column in selected rows of datagrid . hi this ajay bharti

        D 1 Reply Last reply
        0
        • A ajay bharti

          i am using visual studio.net 2003 and using datagrid control.if i would use component one through database grid then how to identify multiple selected rows. i have update a particular column in selected rows of datagrid . hi this ajay bharti

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You're looking for the IsSelected property of each row in the DataView that the DataGrid is bound to. See this[^] for a clear example of how to return all the selected rows. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          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