Linq Query to Get the ListItems for List in One Step
Namespace:System.Linq, System.Collections.Generic
IEnumerable results = lstMembershipList.Items.Cast().Where(item => item["EntityType"].ToString().Trim() == "Project" && item["Association"].ToString().Trim().ToUpper() == associationType
Namespace:System.Linq, System.Collections.Generic
IEnumerable
No comments:
Post a Comment