By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 745 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Calling specific Cell DataGridview

P: 1
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!
May 26 '17 #1
Share this Question
Share on Google+
1 Reply


100+
P: 299
Are you programmatically 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?
May 26 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.