Foxtable(狐表)用户栏目专家坐堂 → 代码求助


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

主题:代码求助

帅哥哟,离线,有人找我吗?
段虎成
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:446 积分:3234 威望:0 精华:0 注册:2019/11/18 9:44:00
代码求助  发帖心情 Post By:2020/3/9 18:13:00 [显示全部帖子]

老师您好,下面这段代码,其中第三行 like (客户信息_行业类别)链接符我应该怎么写?谢谢。

'设置数据加载条件
Dim nms() As String = {"DateTimePicker1","DateTimePicker2","ComboBox1","ComboBox3","TextBox1","ComboBox2","TextBox2"}
Dim sps() As String = {"'","'","'","'","'","'","'","'"}
Dim bjf() As String = {" >= "," <= "," = "," = "," like "," = "," = "}
Dim fds() As String = {"认证日期","认证日期","客户区域_省或直辖市","客服分配_分配状态","客户信息_行业类别","客服分配_客服小组","客服分配_客服人员"}
Dim Filter As String
For i As Integer = 0 To nms.length - 1
    If e.Form.Controls(nms(i)).Value IsNot Nothing Then
        If Filter > "" Then
            Filter = Filter & " and "
        End If
        Filter = Filter & fds(i) & bjf(i) & sps(i) & e.Form.Controls(nms(i)).value & sps(i)
    End If
Next


 回到顶部
帅哥哟,离线,有人找我吗?
段虎成
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:446 积分:3234 威望:0 精华:0 注册:2019/11/18 9:44:00
  发帖心情 Post By:2020/3/9 21:18:00 [显示全部帖子]

好的老师谢谢!

 回到顶部