I use code and work fine
- var KooperacijaRN = this.radni_nalozi_2018DataGridView.Rows.Cast
().Where(row => row.Cells[ "R.b. RN"].Value.ToString() == "KO"); - var childCount4 = KooperacijaRN.Count();
- this.BlokiraniRNLabel.Text = childCount4.ToString();
- var KooperacijaRN = this.radni_nalozi_2018DataGridView.Rows.Cast
().Where(row => row.Cells[ "R.b. RN"].Value.ToString() LIKE "%KO%");
Please help
Thank you

Rijwan AnsariRank #82 · 24.2K reputationPosted May 20, 2021, 6:55 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted May 20, 2021, 5:30 AM EDT
Salman BegRank #284 · 8.8K reputationPosted May 20, 2021, 5:01 AM EDT
Satya KarkiRank #78 · 24.6K reputationPosted May 20, 2021, 8:34 AM EDT