Dim lst As List(Of String)
lst = Connections("nwnd").GetTableNames
For Each nm As String In lst
Output.Show(nm)
Next
"nwnd"库中的表名有英文和中文(标题),如何显示在窗口的表?
Dim cmd As New SQGLCommand
cmd.C
cmd.CommandText = "SELECGT t.name AS TableName " & _
"FROM sys.tables t " & _
"JOIN sys.schemas s ON t.schema_id = s.schema_id " & _
"WHERE s.name = 'dbo';" '
Dim dt As DataTable = cmd.ExecuteReader()
Dim t As Table = e.Form.Controls("Table1").Table
上面执行,没报错,没显示表,如何改?