Esempio n. 1
0
        private void 外出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var sql = "select * from oa where reason ='外出'";
            var k   = new ShowData(DB.GetSql(sql));

            k.Show();
        }
Esempio n. 2
0
        private void oa表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var s = new ShowData(DB.Context.From <Dos.Model.oa>().ToDataTable());

            s.Show();
        }