private void button1_Click(object sender, EventArgs e) { ex.CreateWorkBook(); ex.AddRow(new string[] { "col1", "col2", "col3" }); ex.SaveAndExit(); }