我是编程和视觉基础2008语言的新手.
原文链接:https://www.f2er.com/vb/255528.html我正在学习在visual basic 2008中使用sqlite数据库,我得到了以下教程代码.代码工作正常,我的问题是:这是什么意思!在代码中标记.请指出我在哪里可以获得更多信息,因为我希望了解更多信息.我安装了Windows Sdk v6.1.
Private Sub Button8_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles Button8.Click Dim DatabaseFilepath As String = "e:\sqlite.db3" Dim sqlconnect As New System.Data.sqlite.sqliteConnection() Dim sqlcommand As System.Data.sqlite.sqliteCommand sqlconnect.ConnectionString = "Data Source=" & DatabaseFilepath & ";" sqlconnect.Open() sqlcommand = sqlconnect.CreateCommand Dim SchemaTable = sqlconnect.GetSchema(System.Data.sqlite.sqliteMetaDataCollectionNames.Tables) For int As Integer = 0 To SchemaTable.Rows.Count - 1 If SchemaTable.Rows(int)!TABLE_TYPE.ToString = "table" Then MessageBox.Show(SchemaTable.Rows(int)!TABLE_NAME.ToString()) End If Next sqlcommand.Dispose() sqlconnect.Close() End Sub
更新: