public WangShangJiaoFei()
        {
            InitializeComponent();
            ExcelOperator excel = new ExcelOperator();
            string        t     = excel.getValue("主表", "S37");

            _txt_shuie.Text = t;
        }
示例#2
0
        public ShenBaoBiaoFaSong()
        {
            InitializeComponent();

            DataGridViewRowCollection rows  = dataGridView1.Rows;
            ExcelOperator             excel = new ExcelOperator();
            string val = excel.getValue("主表", "S43");

            /*string val = "0";
             * try
             * {
             *  val = (double.Parse(excel.getValue("附表一", "F8")) - double.Parse(excel.getValue("附表二", "G8"))).ToString();
             * }
             * catch (Exception ex)
             * {
             * }*/


            rows.Add(new Object[] { "", "增值税一般纳税人申报", 0, val, 0, "", "增值税申报" });
        }