/// <summary> /// 仪器附件绑定 /// </summary> /// <param name="instrument">Ref 仪器</param> protected void InstrumentAttachmentDataBind(ref CY.CSTS.Core.Business.view_INSTRUMENT instrument) { try { if (instrument != null) { IEnumerable<CY.CSTS.Core.Business.INSTRATTACHMENT> Attachments = instrument.GetAttachments(); if (Attachments != null) { rpInstrumemtAttachment.DataSource = Attachments; rpInstrumemtAttachment.DataBind(); } } } catch (Exception ex) { throw ex; } }