以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]如何把 l 赋给 comblist 呢?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=51053)

--  作者:shenhq
--  发布时间:2014/5/18 20:27:00
--  [求助]如何把 l 赋给 comblist 呢?

Dim l As List(of DataRow)
dt = DataTables("词典")
t=e.Form.Controls("TextBox2").value
l= dt.Select("[类别]=\'" &  t & "\'")

 

请教老师们 ,l 是数组吗?

如何把 l 赋给 comblist 呢?


[此贴子已经被作者于2014-5-18 20:31:01编辑过]

--  作者:有点甜
--  发布时间:2014/5/18 20:40:00
--  

 楼主,你是不是要这个?

 

http://www.foxtable.com/help/topics/1435.htm

 


--  作者:有点甜
--  发布时间:2014/5/18 20:41:00
--  
 Dim l As String = dt.GetComboListString("某一列", "[类别]=\'" &  t & "\'")
--  作者:shenhq
--  发布时间:2014/5/18 20:51:00
--  

对了

太感谢了