Calling specific Cell DataGridview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dragnorian
    New Member
    • May 2017
    • 2

    Calling specific Cell DataGridview

    Hello! I have never done this kind of thing before and don't know what to search up nor even what to do. I am new to Datagridview, more specifically, CellClick Events. Say I have a dynamic Datagridview. What the program does is this: You input a name and press enter. Well, I have it alphabetize it all so say you have a name called Jessica. That is in row one. Well, you input name Alexia. Now Jessica is in Row 2. Well, now let us just say Jessica is still in Row 1. I wanna be able to click Jessica's cell and open a new form that has a richtextbox in it. I wanna write stuff about Jessica in it and press enter. That data then is saved to Jessica's cell. Now Jessica is in Row 2. I need to know how to recall Jessica's data I just typed it because she isn't in the same position anymore. That is something I do not know how to do and need help with please! Thanks in advance for any help!
  • Luk3r
    Contributor
    • Jan 2014
    • 300

    #2
    Are you programmaticall y creating new forms? Think about calling the form based on the cell data and not the cell index. Can you show us your code that you're using o create a new form when a cell is clicked in the datagridview?

    Comment

    Working...