private void excelButton_Click(object sender, EventArgs e) { if (OperatorRaporuGridView.Rows.Count > 0) { string defaultFileName = DateTime.Now.ToString("ddMMyyyy") + "_OperatorRaporu.xlsx"; ActionControl.ExportExcel(defaultFileName, operatorRaporTable); } }
private void excelButton_Click(object sender, EventArgs e) { if (makineRaporu.Rows.Count > 0) { string defaultFileName = DateTime.Now.ToString("ddMMyyyy") + "_MakineRaporu.xlsx"; ActionControl.ExportExcel(defaultFileName, makineRaporu); } }