private void button1_Click(object sender, EventArgs e) { ToExcel.DatatoExcel(dataGridView2); }
private void toExcel_Click(object sender, EventArgs e) { ToExcel.DatatoExcel(dateViConten); }