foreach (SPFolder folder in spfolder.SubFolders) { folder.Item["OrderId"] = folder.Item["OrderId"]==null?999:folder.Item["OrderId"]; }
foreach (SPFolder folder in spfolder.SubFolders) { folder.Item["OrderId"] = folder.Item["OrderId"]==null?999:folder.Item["OrderId"]; }