Foxtable(狐表)用户栏目专家坐堂 → 条件


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

主题:条件

帅哥,在线噢!
狐狸爸爸
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:管理员 帖子:47526 积分:251577 威望:0 精华:91 注册:2008/6/17 17:14:00
  发帖心情 Post By:2016/12/23 12:54:00 [显示全部帖子]

Dim adapter SqlClient.SqlDataAdapter
if ddhh =""  then
    adapter = New SqlClient.SqlDataAdapter("sele ct * from [可用数量表]  where  物料编码 = '" & wlbm & "' and 软件版本 = '" & rjbb & "' and 两化表编号 = '" & lhbbh & "'", cn)
else
    adapter = New SqlClient.SqlDataAdapter("sele ct * from [可用数量表]  where 订单号 <> '" & ddh & "' and 订单行号 <> '" & ddhh & "' and 物料编码 = '" & wlbm & "' and 软件版本 = '" & rjbb & "' and 两化表编号 = '" & lhbbh & "'", cn)
endif


 回到顶部