private void GetAttachmentInfo() { BPAttachments bp = new BPAttachments(); dsInternal.Clear(); if (LinkListID > 0) dsInternal = bp.SelectByPageTypeSpecificIDAndPageTypeIDAndLinkListIDWithROColumns(PageTypeSpecificID, PageTypeID, LinkListID); else dsInternal = bp.SelectByPageTypeSpecificIDAndPageTypeIDWithROColumns(PageTypeSpecificID, PageTypeID); SyncDocumentsActiveStatus(); }