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. code C# pour recuperer la date correspondante lorsqu'on clique sur une cellule

code C# pour recuperer la date correspondante lorsqu'on clique sur une cellule

Scheduled Pinned Locked Moved C#
csharpwinforms
3 Posts 3 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.
  • M Offline
    M Offline
    Member_15037126
    wrote on last edited by
    #1

    Please I would like to have the C # winforms code, when we click on a cell to enter text it retrieves the corresponding date and stores in a variable

    D OriginalGriffO 2 Replies Last reply
    0
    • M Member_15037126

      Please I would like to have the C # winforms code, when we click on a cell to enter text it retrieves the corresponding date and stores in a variable

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

      That's a really bad question. You're going to have to go into a lot more detail about the problem you're having. "When we click on a cell..." What cell? What control is this? What text are you expecting to be entered? Nobody is going to write the code for you.

      Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • M Member_15037126

        Please I would like to have the C # winforms code, when we click on a cell to enter text it retrieves the corresponding date and stores in a variable

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        Depends on the control, but the most likely is that you are using a DataGridView. In which case try the DataGridView.CellBeginEdit Event (System.Windows.Forms) | Microsoft Docs[^]

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        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