以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- [求助]绑定控件 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=99929) |
-- 作者:苏州老街 -- 发布时间:2017/4/30 8:37:00 -- [求助]绑定控件 老师,下面代码只能绑定三列第四列绑定不了。 Dim nms() As String = {"ComboBox1","ComboBox2","TextBox1","TextBox2"} Dim flds() As String = {"第一列","第二列","第三列","第四列"} For i As Integer = 0 To nms.Length - 2 e.Form.Controls(nms(i)).BindingField = "窗口1_Table1." & flds(i) Next
|
-- 作者:有点蓝 -- 发布时间:2017/5/2 8:19:00 -- For i As Integer = 0 To nms.Length - 1 |