In C#, is it possible to get all values of a particular column from all rows of a DataSet with a simple instruction (no LINQ, no For cicle)?
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.
Only by iterating over the rows, as Utaal noted in this answer.
You might expect that the
DataTable.DefaultView.RowFilterwould support grouping, but it does not (it mainly offers the equivalent functionality of aWhereclause, with some basic aggregations – though not simple grouping).