以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  备注相片列图片不能显示  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=136555)

--  作者:ezilu
--  发布时间:2019/6/15 18:54:00
--  备注相片列图片不能显示
在窗体
Dim dr As DataRow = DataTables("user").Find("[user_gh] = \'" & yhgh & "\'")
Dim tx As String = dr("相片")

Dim pbx As WinForm.PictureBox
pbx = e.Form.Controls("头像")
pbx.Image = GetImage("\'Images\\ & tx\'")

反复测试 应该是 红色部分写错了  
我把它换成傻瓜式的   ("Images\\相片.png"可以显示 

问题出在哪里?大大 



--  作者:y2287958
--  发布时间:2019/6/15 18:57:00
--  
GetImage("Images\\" & tx)
--  作者:ezilu
--  发布时间:2019/6/15 23:11:00
--  
谢谢