I am new to 2008 programming and visual base language.
I am studying using sqlite database in Visual Basic 2008, and I have the following tutorial code. The code works correctly, and my question is: what is the point of this! mark in the code. Please tell me where to get more information as I want to know more about this. I have installed 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
UPDATE
Can someone tell me what is the alternative for this hit statement in code? The hit operator looks unusual.
Sean
source share