如何查看表中所有字段的名称,在码本阶段,当您点击按钮 DOT (.) 时,例如:
dim cn as new SqlConnection ="Data Source=USER-COM\SQLEXPRESS;Initial Catalog=Data1;Integrated Security=True"
dim Command as sqlCommand
Dim DataTable As New DataTable
Command.CommandText = "Select * From Table1"
Command.CommandType=CommandType.Text
Command.Connection = Cn
cn.open
DataAdaptor = New SqlDataAdapter(Command)
DataAdaptor.Fill (DataTable)
Private function Field (NameField As FieldInTable ) 'Hair Is List Field In NameField