Ejemplo n.º 1
0
        public void GetSheet()
        {
            var bp    = new EDRSheetProvider();
            var path1 = "./files/xlsx/class1.xlsx";
            var book  = bp.Get(path1, 1, 1);

            Console.WriteLine(InfoProvider.GetSheet(book));
        }
Ejemplo n.º 2
0
        private void btnJoin_Click(object sender, RoutedEventArgs e)
        {
            var        sp     = new EDRSheetProvider();
            var        sheet1 = sp.Get(this.InputPath1.Text, sheet1Pos, DC.ColumnIndex1);
            var        sheet2 = sp.Get(this.InputPath2.Text, sheet2Pos, DC.ColumnIndex2);
            JoinAction action = new JoinAction(config);

            action.Export(sheet1, sheet2, InputPath3.Text, inputSheetName.Text, DC.HeadTitle1, DC.HeadTitle2);
        }