老师好。下面代码运行到最后一行的时候出现错误 (注:sp 是 字符型数组)
dim sp() as string
---------------------------
Try
Dim dt As DataTable
cmd.BeginTransaction() '开启事务
cmd.CommandText = "sel ect 开piaoid,委托编号,贷方序号,开piao推送id,税后核定 from {流水} where 委托编号 In ('" & String.Join("','",sp) & "') "
dt = cmd.ExecuteReader(True)

此主题相关图片如下:捕获.png

请帮忙看下 谢谢!