我IP 库里有如下的一些记录
192.168.1.5
192.168.1.6
192.168.3.35
192.168.4.55
192.168.1
192.168.6比如我获取的IP,192.168.1.17select * from IP where IP = '" & Text1.Text & "'or IP LIKE '" & Text1.Text & "'请问这个LIKE语句要怎么写的。。
192.168.1.5
192.168.1.6
192.168.3.35
192.168.4.55
192.168.1
192.168.6比如我获取的IP,192.168.1.17select * from IP where IP = '" & Text1.Text & "'or IP LIKE '" & Text1.Text & "'请问这个LIKE语句要怎么写的。。
你没有先打开数据集啊
要先open啊
select * from DON_IP where IP = '" & Text1.Text & "' or ip like '" & Text1.Text & "%'
无错,但是没有效果了。
我在库里加了,120.32.230
我的IP 120.32.230.224
无错,但是没有效果了。
我在库里加了,120.32.230
我的IP 120.32.230.224