-- 作者:wilson
-- 发布时间:2012/7/21 23:37:00
--
发现以下代码错误,求助 Dim cmd As New SQLCommand Dim dt As DataTable cmd.C cmd.CommandText = "SELECT DISTINCT 产品型号 From {产品信息表}" dt = cmd.ExecuteReader Tables("产品信息表").Cols("产品型号").Combolist = dt.GetComboListString("产品型号")
Dim cmd1 As New SQLCommand Dim dt1 As DataTable cmd1.C cmd1.CommandText = "SELECT DISTINCT 产品名称 From {产品信息表}" dt1 = cmd1.ExecuteReader Tables("产品信息表").Cols("产品名称").Combolist = dt1.GetComboListString("产品名称")
|