我的未发布的程序里的代码是如下,照片列能正常显示:
If e.Col.name= "照片" Then
If e.Row.IsNull("图片名称") Then
e.Row("照片")=Nothing
Else
e.StartDraw()
e.Graphics.DrawImage(getimage(projectPath & "RemoteFiles\涩卡款式\" & e.Row("图片名称")), e.x + 3,e.y + 3, 100, 100)
e.EndDraw()
End If
End If
但是发布程序以后,用publish里的exe文件开启程序, 照片列drawcell调用失败,请问是路径的问题吗? 那正确的路径应该如何写?