예제 #1
0
파일: DBCenter.cs 프로젝트: baixue001/IPS
        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));
        }