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
}
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
}