DAtabase integriert
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
Dim sql = String.Format("Select DISTINCT T.GUID, T2.ENTITY_ID FROM TBPMO_FORM_CONSTRUCTOR T, TBPMO_FORM_CONSTRUCTOR_DETAIL T1, " &
|
||||
"TBPMO_STRUCTURE_NODES_CONFIGURATION T2 WHERE T.GUID = T1.CONSTRUCT_ID And T1.FORM_ID = T2.ENTITY_ID " &
|
||||
"And T.GUID In (Select CONSTRUCT_ID FROM TBPMO_CONSTRUCTOR_USER WHERE USER_ID = {0})", USER_GUID)
|
||||
Dim DT As DataTable = ClassDatabase.Return_Datatable(sql, True)
|
||||
Dim DT As DataTable = MYDB_ECM.GetDatatable(sql)
|
||||
For Each rowconstruct As DataRow In DT.Rows
|
||||
Try
|
||||
Dim sqlnodes = String.Format("select * from VWPMO_STRUCTURE_NODES where ENTITY_ID IN (SELECT FORM_ID FROM VWPMO_CONSTRUCTOR_FORMS WHERE CONSTRUCT_ID = {0})", rowconstruct.Item(0))
|
||||
Dim DTNODES As DataTable = ClassDatabase.Return_Datatable(sqlnodes, True)
|
||||
Dim DTNODES As DataTable = MYDB_ECM.GetDatatable(sqlnodes)
|
||||
|
||||
Dim sqlimage = String.Format("select * from TBPMO_STRUCTURE_NODES_CONFIGURATION where ENTITY_ID IN (SELECT FORM_ID FROM VWPMO_CONSTRUCTOR_FORMS WHERE CONSTRUCT_ID = {0})", rowconstruct.Item(0))
|
||||
Dim DT_TREEVIEW_CONFIGURATION = ClassDatabase.Return_Datatable(sql)
|
||||
Dim DT_TREEVIEW_CONFIGURATION = MYDB_ECM.GetDatatable(sql)
|
||||
Dim TREEVIEW_IMAGELIST = New ImageList
|
||||
|
||||
For Each row As DataRow In DT_TREEVIEW_CONFIGURATION.Rows
|
||||
|
||||
Reference in New Issue
Block a user