1
Answer

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

Preethi

Preethi

7y
128
1
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)