I have a Gridview in my WPF app and in my code I wanna use the .Rows property but I can’t find it
MyGridview.Rows dosn’t exist
How can i fix this?
Thx
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.
The
GridViewis just a view, it is not meant for item management, you can access the items (which are the rows) from the ownerListView.Items.