2.4.1.7 Logging SQL from Task, replacing '
This commit is contained in:
@@ -7,7 +7,7 @@ Public Class frmSQL_Admin
|
||||
Private Sub btnrunSQL_Click(sender As Object, e As EventArgs) Handles btnrunSQL.Click
|
||||
If txtSQL.Text <> "" Then
|
||||
If txtSQL.Text.ToLower.StartsWith("select") Then
|
||||
Dim dt As DataTable = ClassDatabase.Return_Datatable(txtSQL.Text)
|
||||
Dim dt As DataTable = ClassDatabase.Return_Datatable(txtSQL.Text, "btnrunSQL_Click")
|
||||
If Not dt Is Nothing Then
|
||||
XtraTabControl1.SelectedTabPageIndex = 1
|
||||
BindingSource1.DataSource = dt
|
||||
|
||||
Reference in New Issue
Block a user