private void Test(string fn) { k = new cKurzformen(); db = new cExcelDB(fn); // Form1.Text = fn; db.Connect(); //textBox2.Text = db.GetExcelData("März"); List<string> l = db.GetTableNamesList(); // _liste.Clear(); CreatecbWorksheets(l); BuildPages(); //textBox2.Text = List2Str(_liste); //s = db.GetTableNames(); }
private void miHilfeToolStripMenuItem_Click(object sender, EventArgs e) { string fn = @"z:\2009.xlsx"; db = new cExcelDB(fn); textBox2.Text = db.Test(); }
private void miÜberToolStripMenuItem_Click(object sender, EventArgs e) { string fn = @"z:\2009.xlsx"; db = new cExcelDB(fn); DataTable dt = db.TestDt(); DataGrid dataGridView1 = new DataGrid(); dataGridView1.DataSource = dt; //tb.Name = "tbTest"; dataGridView1.Location = new Point(0, 10); dataGridView1.Dock = DockStyle.Fill; //tb.Multiline = true; dataGridView1.Parent = panel3; }
public void Test2() { string fn = @"z:\2009.xlsx"; db = new cExcelDB(fn); db.Connect(); textBox2.Text = "aaa" + db.GetTableNames(); }