hello
please find the below code
SvcResource.ResourceDataSet resourceDs = resourceClient.ReadResources(string.Empty, false); Guid resVimal = new Guid("eb536541-e934-45fa-a9c6-8189fb4aa3d9"); resourceClient.CheckOutResources(new Guid[] { resVimal }); foreach (SvcResource.ResourceDataSet.ResourceCustomFieldsRow row in resourceDs.ResourceCustomFields.Rows) { if (row.MD_PROP_UID == ResourceDepartmentUID && row.RES_UID == resVimal && row.CODE_VALUE == ResourceDepartmentValue) { resourceDs.ResourceCustomFields.RemoveResourceCustomFieldsRow(row); // resourceDs.ResourceCustomFields.del //resourceDs.ResourceCustomFields.rem break; // row.CODE_VALUE = ResourceDepartmentValue; } } resourceClient.UpdateResources(resourceDs, false, false); resourceClient.CheckInResources(new Guid[] { resVimal }, true);
the above code is not removing the department value, can any one please guide me for the same
thanks
vimal
regards Vimal