以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  修改密码问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=184561)

--  作者:lgz518
--  发布时间:2022/12/13 19:24:00
--  修改密码问题

图片点击可在新窗口打开查看此主题相关图片如下:修改密码问题.jpg
图片点击可在新窗口打开查看

\'窗口的AfterLoad事件代码为:

Dim cmd As New SQLCommand
Dim dt As DataTable
\'Dim cmb As WinForm.ComboBox = e.Form.Controls("UserName")
Dim cmb As WinForm.TextBox = e.Form.Controls("UserName")
cmd.C
cmd.CommandText = "SET DISTINCT Name From {Users}"
dt = cmd.ExecuteReader()
For Each dr As DataRow In dt.Datarows
    cmb.Value.Add(dr("Name"))
\'cmb.Items.Add(dr("Name"))
    
Next
\'cmb.SelectedIndex = 0
\'cmb.ResetText = 0
\'\'cmb.SelectAll = 0

--  作者:有点蓝
--  发布时间:2022/12/13 20:47:00
--  
没看懂想表达的什么问题