Remove ClassDatabase, Replace with Database.MSSQL Module
This commit is contained in:
@@ -8,7 +8,7 @@ Public Class frmSQL_Admin
|
||||
|
||||
If txtSQL.Text <> "" Then
|
||||
If txtSQL.Text.ToLower.StartsWith("select") Then
|
||||
Dim dt As DataTable = ClassDatabase.Return_Datatable(txtSQL.Text, True)
|
||||
Dim dt As DataTable = DATABASE_ECM.GetDatatable(txtSQL.Text)
|
||||
If Not dt Is Nothing Then
|
||||
XtraTabControl1.SelectedTabPageIndex = 1
|
||||
BindingSource1.DataSource = dt
|
||||
|
||||
Reference in New Issue
Block a user