Monday, October 5, 2015

SharePoint Item Update: Exception Handling when Item is null or Empty

SharePoint Item Update: Exception Handling when Item is null or Empty


item["ProgramTitle"] = (wpItem["ProgramTitle"] != null) ? wpItem["ProgramTitle"].ToString() : string.Empty;

No comments:

Post a Comment