以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 关于SQLGetComboListString (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=179429) |
-- 作者:czy66ds -- 发布时间:2022/8/23 11:22:00 -- 关于SQLGetComboListString Dim CMB1 As WinForm.ComboBox = e.Form.Controls("ComboBox1") Dim dt2 As DataTable ......................................................................... cmd.CommandText = "sel ect TOP 5 储值卡号 from {储值卡号表} " dt2 = cmd.ExecuteReader CMB1.ComboList = dt2.SQLGetComboListString("储值卡号") 上述代码是希望给控件CMB1提供5个选择项目,该如何处理? 上述代码中的TOP 5没起作用 |
-- 作者:有点蓝 -- 发布时间:2022/8/23 11:29:00 -- CMB1.ComboList = dt2.GetComboListString("储值卡号") |