mousemat24
asked on
How to I add a new value based on a change of value
Hi there
How to I add a new value based on a change of value?
I have this code
foreach (var item in itemAttributes)
{
string fID = GetBook("Programming");
var attributes = from a in itemAttributes
where a.Description.ToLower().Co ntains("ID ='" + fID + "'")
SearchBookCollection values = new SearchBookCollection();
values.AddRange(attributes .ToList()) ;
}
What I want is if fID are different ONLY run
values.AddRange(attributes .ToList()) ;
Hope this makes sense?
thanks
How to I add a new value based on a change of value?
I have this code
foreach (var item in itemAttributes)
{
string fID = GetBook("Programming");
var attributes = from a in itemAttributes
where a.Description.ToLower().Co
SearchBookCollection values = new SearchBookCollection();
values.AddRange(attributes
}
What I want is if fID are different ONLY run
values.AddRange(attributes
Hope this makes sense?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.