以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 照片链接无法正常显示,老师帮我看看 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=179975) |
-- 作者:whtb999 -- 发布时间:2022/9/21 14:30:00 -- 照片链接无法正常显示,老师帮我看看 Select Case e.Path Case "table.htm" Dim wb As New WeUI With wb.AddTable("","Table1") .Alternate = 3 Dim nms() As String = {"员工","姓名","学历","年龄","照片"} .Head.AddRow(nms) For Each r As DataRow In DataTables("员工").Select("","") With .Body.AddRow(r("姓名"),r("学历"),r("年龄")) wb.InsertHTML("<a href=\'./uploadfiles\\ " & r("照片") & " download= " & r("照片") & " > " & r("姓名") & "\'</a>") End With Next End With e.WriteString(wb.Build) End Select
|
-- 作者:有点蓝 -- 发布时间:2022/9/21 14:40:00 -- For Each r As DataRow In DataTables("员工").Select("") .Body.AddRow(r("姓名"),r("学历"),r("年龄"),"<a href=\'./uploadfiles/" & r("照片") & "\' download=\'" & r("照片") & "\' > " & r("姓名") & "</a>") Next
|