Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SPLISTItem, that using lookup field.

$
0
0

I am looking the splistitem in splist, that is using lookupfield.

How can can i get the item(s)? 

                             

 foreach (SPListItem item in list.Items)
{

// i need a if statment here to do this???

get items that is using splookupfield and lookupfield is ID = 2 

}



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>