Preethi

Preethi

  • NA
  • 17
  • 4.6k

Instead of for Loop , i would like to written in LINQ

Dec 1 2017 4:44 AM
for (int a = 0; a < dtResourceDetails.Rows.Count; a++)
{
 string ResourceId = dtResourceDetails.Rows[a]["ResourceId"].ToString();
 rcbInstruments.Items.Remove(rcbInstruments.FindItemIndexByValue(ResourceId));
}
 
I written this for loop same thing i have to written using LINQ.
Any one Please help me... it's very urgent for me 

Answers (1)