public static void RemoveRecord(string resName, int recordId) { RecordStore rs = null; try { rs = RecordStore.OpenRecordStore(resName, false); rs.DeleteRecord(recordId); } finally { CloseRecordStore(rs); } }
public static void RemoveRecord(string resName, int recordId) { RecordStore rs = null; try { rs = RecordStore.OpenRecordStore(resName, false); rs.DeleteRecord(recordId); } finally { CloseRecordStore(rs); } }