Exemple #1
0
        public DataTable GetNewestList(int TopCount, PawnProductStatus Status)
        {
            string sql = "select top {0} * from mwpawnproduct where status={1} order by pawnproductid desc";

            sql = String.Format(sql, TopCount, (int)Status);
            return(dbr.ExecuteDataSet(CommandType.Text, sql).Tables[0]);
        }
 public DataTable GetNewestList(int TopCount,PawnProductStatus Status)
 {
     string sql = "select top {0} * from mwpawnproduct where status={1} order by pawnproductid desc";
     sql = String.Format(sql,TopCount,(int)Status);
     return dbr.ExecuteDataSet(CommandType.Text,sql).Tables[0];
 }
 public DataTable GetNewestList(int TopCount, PawnProductStatus Status)
 {
     return dal.GetNewestList(TopCount,Status);
 }
 public DataTable GetNewestList(int TopCount, PawnProductStatus Status)
 {
     return(dal.GetNewestList(TopCount, Status));
 }