I have a Employee list that contains 2 lookup fields (dept and manager). How do I get the ID for the manager lookup field?
FieldLookupValue mgrItem = new FieldLookupValue(); mgrItem.LookupId = Convert.ToInt32(department); //giving department throws an error like "input string was not in correct format" item["Manager"] = mgrItem;
So what should be the ID that I should provide?
Kindly help! Thanks :)