以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 批量修改文件名应该怎么做 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=37546) |
|
-- 作者:jinzhengbe -- 发布时间:2013/7/5 3:51:00 -- 批量修改文件名应该怎么做 |
|
-- 作者:Bin -- 发布时间:2013/7/5 8:35:00 -- 你是怎么批量导入文件的? 不了解你的情况无法帮助你. 如果是正常的往文件列添加文件的话.那么照搬例子 改下名称即可. Else e.FileName = dr("客户") & dr("ID") & ".jpg" 这里改为客户列+ ID End If
|
|
-- 作者:jinzhengbe -- 发布时间:2013/7/7 23:49:00 -- 这样导入的。应该怎么办啊? Dim Cols1() As String = {"productID","ID","color","weight","productNum","productRemarks","ischeck","caseNo","leaderID"} Dim Cols2() As String = {"productID","订单ID","订单颜色","订单大小","订单数量","订单备注","订单状态","订单号码","客户ID"} For Each dr1 As DataRow In DataTables("订单详情").Select("[id] Is not Null") Dim dr2 As DataRow = DataTables("新订单").AddNew() For i As Integer = 0 To Cols1.Length -1 dr2(Cols2(i)) = dr1(Cols1(i)) Next Next |
|
-- 作者:狐狸爸爸 -- 发布时间:2013/7/8 8:22:00 -- 惭愧,我无法理解你的问题 |