[求助]怎么在SQL中表达集合或数组? Post By:2015/6/2 19:03:00 [只看该作者]
Dim myDt As DataTable Dim myDtCmd As New SqlCommand Dim myStringSql As String Dim myList As New List(of String) myList.add("a") myList.add("b") mystringSql = "s-elect * from {表A} where 第四列 in mylist" myDtCMd.commandText = myStringSql myDT = myDtcMd.ExecuteReader()