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