[求助]用SQL直接筛选某列内容长度 Post By:2019/4/21 16:46:00 [显示全部帖子]
Dim cmd As new SQLCommand cmd.C cmd.CommandText = "se lect * from {订单表} " Dim Sdt As DataTable = cmd.ExecuteReader For Each dr As DataTable In sdt.DataRows If dr("地址").Length > 14 Then r("超长") = "Y" Next