Beispiel #1
0
 private void saveUsingAPI()
 {
     if (listViewTable.CheckedItems.Count != 0)
     {
         for (int i = 0; i < listViewTable.CheckedItems.Count; i++)
         {
             String tableName = listViewTable.CheckedItems[i].SubItems[1].Text.ToString();
             List <ColumnInformation> columnInformationList = esentManager.getColumn(tableName);
             columnInformationList.Sort(compareColumn);
             esentManager.saveData(this, tableName, columnInformationList);
         }
     }
     MessageBox.Show("The operation has been completed!");
 }
Beispiel #2
0
        public void selectTableUsingAPI(ListViewItem listViewItem)
        {
            topTableName = listViewItem.SubItems[1].Text.ToString();
            if (checkDockDocument(topTableName)) //이미 존재할경우
            {
                return;
            }
            DockRecordList dockRecordList = new DockRecordList(this, useAPI);

            topDockRecordList = dockRecordList;
            dockRecordList.setTitle(topTableName);
            List <ColumnInformation> columnInformationList = esentManager.getColumn(topTableName);

            columnInformationList.Sort(compareColumn);
            dockRecordList.setColumn(columnInformationList);
            esentManager.getData(topTableName, columnInformationList);
        }