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. Windows Forms
  4. Editable report-like control

Editable report-like control

Scheduled Pinned Locked Moved Windows Forms
csharpasp-netcomquestion
4 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.
  • H Offline
    H Offline
    Hamed Musavi
    wrote on last edited by
    #1

    Hi. I want to create a control that lets user to edit records he/she created in a long while like say a year or two. To show what I have in mind I created a picture: http://sarvsoft.com/RecordEditControl.GIF[^] In Asp.net I had an option called Edit template which would solve exactly such problems: A set of repetitive controls. I took a look at DataGridView and it seems not to have such an option. What do you suggest? 1. Create my own custom control. 2. Use DataGridColumnStyle along with a DataGridView, I'm not sure if this works. Never did it before. 3. There is a better way? Thanks a lot in advanced. :rose:

    "In the end it's a little boy expressing himself."    Yanni

    D 1 Reply Last reply
    0
    • H Hamed Musavi

      Hi. I want to create a control that lets user to edit records he/she created in a long while like say a year or two. To show what I have in mind I created a picture: http://sarvsoft.com/RecordEditControl.GIF[^] In Asp.net I had an option called Edit template which would solve exactly such problems: A set of repetitive controls. I took a look at DataGridView and it seems not to have such an option. What do you suggest? 1. Create my own custom control. 2. Use DataGridColumnStyle along with a DataGridView, I'm not sure if this works. Never did it before. 3. There is a better way? Thanks a lot in advanced. :rose:

      "In the end it's a little boy expressing himself."    Yanni

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

      There is a VB.NET Power Pack that has a DataRepeater control in it that should do what you want. Here[^]

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      H 2 Replies Last reply
      0
      • D Dave Kreskowiak

        There is a VB.NET Power Pack that has a DataRepeater control in it that should do what you want. Here[^]

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        H Offline
        H Offline
        Hamed Musavi
        wrote on last edited by
        #3

        Thanks for the link. I have to do it in C# but it will be a help anyway.

        "In the end it's a little boy expressing himself."    Yanni

        1 Reply Last reply
        0
        • D Dave Kreskowiak

          There is a VB.NET Power Pack that has a DataRepeater control in it that should do what you want. Here[^]

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          H Offline
          H Offline
          Hamed Musavi
          wrote on last edited by
          #4

          Dave Kreskowiak wrote:

          There is a VB.NET Power Pack that has a DataRepeater control in it that should do what you want.

          I just finished adding it to my C# project and it works great. It did exactly what I wanted. I don't know what to say to express my thanks. It saved me a lot of time. Your help is really appreciated. Thank you again and so much. :rose: :rose:

          "In the end it's a little boy expressing himself."    Yanni

          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