How do I find a cell with a specific content in a DataGridView?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ariel is right on, you will have to iterate through the GridViewRowCollection and then each cell of the individual GridViewRow, you can get the cell’s text property or like Ariel mentioned if it is a control use FindControl and extract the appropriate property