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#
  4. DataGridviewRow - Make it invisible .

DataGridviewRow - Make it invisible .

Scheduled Pinned Locked Moved C#
question
2 Posts 2 Posters 4 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
    unitecsoft
    wrote on last edited by
    #1

    Hi I am trying to hide some rows in a DataGridView , in some rows an unhandled exception is fired with the following message . (( Row associated with the currency manager's position cannot be made invisible.)) handling this exception will cause the row to remain visible . Any Ideas ?

    A 1 Reply Last reply
    0
    • U unitecsoft

      Hi I am trying to hide some rows in a DataGridView , in some rows an unhandled exception is fired with the following message . (( Row associated with the currency manager's position cannot be made invisible.)) handling this exception will cause the row to remain visible . Any Ideas ?

      A Offline
      A Offline
      ATCsharp
      wrote on last edited by
      #2

      You could bind the datagridview to a DataView. Use the filter property on the DataView to hide / show the rows you want based on your conditions.

      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