111,120
社区成员
发帖
与我相关
我的任务
分享.xml文件中的某一段:
- <B>
<billid>65894</billid>
<xdate>9-2</xdate>
<name_g>蓝色3号袋</name_g>
<spectype>55*34cm</spectype>
<unit>个</unit>
<drawweight>150.000000</drawweight>
<instockweight>0.000000</instockweight>
<remainweight>0.000000</remainweight>
<csweight>0.000000</csweight>
<qyweight>0.000000</qyweight>
<wlphl>0.00</wlphl>
<dictateid>ZL200908100033</dictateid>
<grade>一等品</grade>
</B>表A:
dictateid grade id
ZL200908100033 一等品 2
ZL200908100033 二等品 3
ZL200908100034 二等品 4
ZL200908100035 二等品 5insert into B(billid,xdate,name_g,spectype,unit,drawweight,instockweight,remainweight,
csweight,qyweight,wlphl,dictateid)
select A.id,'" + dr.Tables["B"].Rows[i]["XDate"] + "','" + dr.Tables["B"].Rows[i]["Name_G"] + "',
'" + dr.Tables["B"].Rows[i]["SpecType"] + "','" + dr.Tables["B"].Rows[i]["Unit"] + "',
'" + dr.Tables["B"].Rows[i]["DrawWeight"] + "','" + dr.Tables["B"].Rows[i]["InstockWeight"] + "',
'" + dr.Tables["B"].Rows[i]["RemainWeight"] + "','" + dr.Tables["B"].Rows[i]["CSWeight"] + "',
'" + dr.Tables["B"].Rows[i]["QYWeight"] + "','" + dr.Tables["B"].Rows[i]["WLPHL"] + "',
'" + dr.Tables["B"].Rows[i]["DictateID"] + "'