Пример #1
0
        public static DataTable JoinQuery(string fields, string mtable, string stable, string on, string where = "", string order = "", SqlParameter[] sp = null)
        {
            PageSetting setting = new PageSetting();

            setting.fields = fields;
            setting.t1     = mtable;
            setting.t2     = stable;
            setting.on     = on;
            setting.where  = where;
            setting.order  = order;
            setting.sp     = sp;
            return(DB.JoinQuery(setting));
        }