可以,比如 xxx = "产品名称 = 'abcdefg'"
Dim filter1 As String = "产品编码 ='" & e.DataRow("产品编码") & "' And 颜色 ='" & e.DataRow("颜色") & "' and " & xxx