Ejemplo n.º 1
0
        protected override void Execute(CodeActivityContext context)
        {
            this.strFilePath        = FilePath.Get(context);
            this.strSheetName       = SheetName.Get(context);
            this.strAccessFilePath  = AccessFilePath.Get(context);
            this.strAccessTableName = AccessTableName.Get(context);
            this.strCellRange       = CellRange.Get(context);

            this.ExportToAccess();
        }
Ejemplo n.º 2
0
        // Initalized the context values to local variables
        protected void InitValue(CodeActivityContext context)
        {
            try
            {
                base.LoadVariables(context);

                this.strCellRange = CellRange.Get(context);

                this.dblChartLeft   = Size.Left;
                this.dblChartTop    = Size.Top;
                this.dblChartWidth  = Size.Width;
                this.dblChartHeight = Size.Height;
                this.strChartTitle  = ChartTitle.Get(context);
                this.strImagecopy   = ImageCopy.Get(context);
            }
            catch (Exception ex)
            {
                throw new Exception("InitValue" + ex.Message);
            }
        }