以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- (已解决)Add循环出现错误 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=170815) |
-- 作者:sunion0769 -- 发布时间:2021/8/8 13:09:00 -- (已解决)Add循环出现错误 代码运行出现错误,先把5个标题显示完,再显示照片,我需要的是一个标题,一个照片,然后第二个标题,第二个照片 With wb.AddPanelGroup("","pg300","") For i As Integer = 0 To 3 .Add("pn1","" &drs(i)("新闻标题") &“”","","","") wb.AddPage("","page3" & i & "") .AddImage("./images/Publish/Project/Attachments/" & drs(i)("照片") & "") End With Next End With 没问题了,是我弄错顺序了。谢谢 [此贴子已经被作者于2021/8/8 13:53:30编辑过]
|