Esempio n. 1
0
        private void btnExport_Click(object sender, EventArgs e)
        {
            ExportToExcel exportexcel = new ExportToExcel();

            exportexcel.ExportDataGridViewToExcel(this.dataGridMatrix);
        }
Esempio n. 2
0
        private void buttonX2_Click(object sender, EventArgs e)
        {
            ExportToExcel exportexcel = new ExportToExcel();

            exportexcel.ExportDataGridViewToExcel(dataGridViewX1);
        }