Foxtable(狐表)用户栏目专家坐堂 → 压缩上传


  共有2598人关注过本帖树形打印复制链接

主题:压缩上传

帅哥哟,离线,有人找我吗?
有点蓝
  11楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107739 积分:548028 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/4/26 17:40:00 [只看该作者]

做个例子发过来测试吧

 回到顶部
帅哥哟,离线,有人找我吗?
刘林
  12楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:八尾狐 帖子:1942 积分:14925 威望:0 精华:0 注册:2016/4/28 9:58:00
  发帖心情 Post By:2020/4/26 22:31:00 [只看该作者]

Dim dr As DataRow = e.Table.Current.DataRow
Dim wz As Integer = Tables("学生信息").FindRow(dr)
If wz >=0 Then
    Tables("学生信息").Position = wz
End If
Dim pc1 As WinForm.PictureBox = e.Form.Controls("picturebox1")
Dim pbx1 As WinForm.PictureBox=e.Form.Controls("PicView1")
Dim pbx3 As WinForm.PictureBox=e.Form.Controls("PicView3")
Dim ftp1 As New FtpClient
ftp1.Host="47.926"
ftp1.Account = "r"
ftp1.Password = "YJss535"
'Dim tb As Table=Tables("贴图_table1")
Dim Key As String =dr("相片")
Dim fkA As String=DR("户口A")
Dim FKB As String =DR("户口B")
If ftp1.Download(key,ProjectPath & "remotefiles" & Key) = False
    pc1.Image= GetImage(ProjectPath & "images\wxp.jpg")
Else
    pc1.Image= GetImage(projectPath & "remotefiles" & key)
End If
If ftp1.Download(FKA,ProjectPath & "remotefiles" & FKA) = True
    pbx1.Image= GetImage(projectPath & "remotefiles" & fka)
Else
    pbx1.Image=GetImage("")
End If
If ftp1.Download(FKb,ProjectPath & "remotefiles" & FKB) = True
    pbx3.Image= GetImage(projectPath & "remotefiles" & fkb)
Else
    pbx3.Image= getimage("")
End If



用绑定表列方式要出问题,这样不绑又慢了点,这怎么办?
[此贴子已经被作者于2020/4/26 22:31:16编辑过]

 回到顶部
总数 12 上一页 1 2