Added functionality to session viewer for issue #99

This commit is contained in:
MikeMaximus
2017-12-07 21:23:43 -06:00
parent 11101f7f22
commit e6a73019ef
7 changed files with 389 additions and 29 deletions
+21
View File
@@ -261,6 +261,27 @@ Public Class mgrSQLite
Return oData
End Function
Public Function ReadSingleValue(ByVal sSQL As String, ByVal hshParams As Hashtable) As Object
Dim command As SqliteCommand
Dim oResult As New Object
Connect()
Command = New SqliteCommand(sSQL, db)
BuildParams(command, hshParams)
Try
oResult = command.ExecuteScalar()
Catch ex As Exception
mgrCommon.ShowMessage(mgrSQLite_ErrorQueryFailure, New String() {sSQL, ex.Message}, MsgBoxStyle.Information)
Finally
command.Dispose()
Disconnect()
End Try
Return oResult
End Function
Private Function GetDatabaseVersion() As Integer
Dim sSQL As String
Dim iVer As Integer