I am able to select a single cell from a data grid view but I am trying to see if it would be possible for me to select multiple cells at once and use that data. to create a chart using C#
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.
You can try to select DataRow, this
DataRowcontainsCellspropertyCode Sample
In order to permit multi select , you define
DataGridView.MultiSelectpropertyLink : http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.multiselect.aspx
You can also use
Link : http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.selectionmode.aspx