EDMI: Work on ClassDataASorDB
This commit is contained in:
@@ -63,7 +63,7 @@ Public Class frmAdmin_Start
|
||||
|
||||
Private Function Load_SQLData() As Boolean
|
||||
Try
|
||||
Dim oTable As DataTable = My.Database.GetDatatable("SELECT * FROM TBZF_ADMIN_SOURCE_SQL")
|
||||
Dim oTable As DataTable = My.DatabaseECM.GetDatatable("SELECT * FROM TBZF_ADMIN_SOURCE_SQL")
|
||||
DetailForm.DetailDataList.Clear()
|
||||
|
||||
For Each oRow As DataRow In oTable.Rows
|
||||
@@ -77,7 +77,7 @@ Public Class frmAdmin_Start
|
||||
}
|
||||
|
||||
Try
|
||||
oItem.SQLResult = My.Database.GetDatatable(oItem.SQLCommand)
|
||||
oItem.SQLResult = My.DatabaseECM.GetDatatable(oItem.SQLCommand)
|
||||
Catch ex As Exception
|
||||
oItem.SQLResult = Nothing
|
||||
Logger.Error(ex)
|
||||
|
||||
Reference in New Issue
Block a user