- if (item.Attachments.Count > 0)
- {
- for (int a = 0; a < item.Attachments.Count; a++)
- {
- if (a == 0)
- {
- this.Label1.Text = "附件 1:<a href=" + item.Attachments.UrlPrefix + item.Attachments[a] + " target=_blank>[" + item.Attachments[a] + "]</a><br>";
- }
- else if (a == 1)
- {
- this.Label2.Text = "附件 2:<a href=" + item.Attachments.UrlPrefix + item.Attachments[a] + " target=_blank>[" + item.Attachments[a] + "]</a><br>";
- }
- else if (a == 2)
- {
- this.Label3.Text = "附件 3:<a href=" + item.Attachments.UrlPrefix + item.Attachments[a] + " target=_blank>[" + item.Attachments[a] + "]</a>";
- }
- }
- }
读列表库附件地址
最新推荐文章于 2024-06-28 10:48:37 发布