private void 外出ToolStripMenuItem_Click(object sender, EventArgs e) { var sql = "select * from oa where reason ='外出'"; var k = new ShowData(DB.GetSql(sql)); k.Show(); }
private void oa表ToolStripMenuItem_Click(object sender, EventArgs e) { var s = new ShowData(DB.Context.From <Dos.Model.oa>().ToDataTable()); s.Show(); }