Exemplo n.º 1
0
        public DataTable ShowLeave(string id)
        {
            string sql = "select * from AllLeave join QjType on AllLeave.lTypeid=QjType.qjTypeid where 1=1";

            if (id != "")
            {
                sql += "and id=" + id;;
            }
            return(DBhelper.GetTable(sql));
        }
Exemplo n.º 2
0
        public DataTable ShowType()
        {
            string sql = "select * from QjType";

            return(DBhelper.GetTable(sql));
        }