private void button3_Click_1(object sender, EventArgs e) { if (init) { RepeatedFunctions.SaveAsExcel(MYdgv, Nm, _ColNames); } }
private void Save_Click(object sender, EventArgs e) { if (CbAll.Checked) { RepeatedFunctions.SaveAsExcel(DGVin, $"Sales All.csv", new string[] { "Sale ID", "Date", "Total Items", "Total" }); } else { RepeatedFunctions.SaveAsExcel(DGVin, $"Sales {datepick.Value.ToString("yyyyMMdd")}.csv", new string[] { "Sale ID", "Date", "Total Items", "Total" }); } }
private void Save_Click1(object sender, EventArgs e) { RepeatedFunctions.SaveAsExcel(DGVit, $"Sold Items.csv", new string[] { "Item ID", "Name", "Qty", "Total" }); }