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. datagridview

datagridview

Scheduled Pinned Locked Moved C#
csharp
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.
  • S Offline
    S Offline
    SVb net
    wrote on last edited by
    #1

    i use C#.net 2005 and datagridView .i need to add button at columns , not as datagridviewbutton. i can customize columns for my request.

    123

    J 1 Reply Last reply
    0
    • S SVb net

      i use C#.net 2005 and datagridView .i need to add button at columns , not as datagridviewbutton. i can customize columns for my request.

      123

      J Offline
      J Offline
      Justin Perez
      wrote on last edited by
      #2

      SVb.net wrote:

      i use C#.net 2005 and datagridView .i need to add button at columns , not as datagridviewbutton. i can customize columns for my request.

      Find the X & Y values of your column, and create a button dynamically. Then set the position of the button to the X & Y of your column. You can do this for each column, or however many times you need it. Just create a new button each time, and load the buttons into an array. Then you will have a collection of all the controls you created.

      "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")

      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