Hello how can i count a word in dataGridView like an example i have a cars model BMW, Audi, Mitsubishi, Mercedes .etc i want a code to count how many bmw i have ,how many Mercedes i have. etc in a lable.text
<pre> int x = 4; label10.Text = (from Rows in dataGridView1.Rows.Cast<DataGridViewRow>() where !Rows.IsNewRow && Rows.Cells(x).ToString == "Audi" select Rows).Count;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)