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. C#
  4. regarding datagridview

regarding datagridview

Scheduled Pinned Locked Moved C#
csharpdesignhelp
3 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.
  • P Offline
    P Offline
    praveenkumar palla
    wrote on last edited by
    #1

    In C#.net windows application in design view i am just placing the datagridview control in form load event i am dynamically defining the columns and then adding rows so every time there is an extra row is coming and one column is image column so extra row displaying the image "x". In order to avoid this extra row what should I do Please help me Praveen Kumar Palla

    A 1 Reply Last reply
    0
    • P praveenkumar palla

      In C#.net windows application in design view i am just placing the datagridview control in form load event i am dynamically defining the columns and then adding rows so every time there is an extra row is coming and one column is image column so extra row displaying the image "x". In order to avoid this extra row what should I do Please help me Praveen Kumar Palla

      A Offline
      A Offline
      Andrei Ungureanu
      wrote on last edited by
      #2

      Set the AllowUsersToAddRows property of the DataGridView to False Hope it helps.

      There are 10 kinds of people: those who understand binary and those who don't

      P 1 Reply Last reply
      0
      • A Andrei Ungureanu

        Set the AllowUsersToAddRows property of the DataGridView to False Hope it helps.

        There are 10 kinds of people: those who understand binary and those who don't

        P Offline
        P Offline
        praveenkumar palla
        wrote on last edited by
        #3

        Andrei Thank you very much It is very useful to me.

        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