public static DataTable GetBuyerInfo(string buyerNick, string status, string area, string grade, string group, string tradeAmount1, string tradeAmount2, string buerNick2, string buyCount) { if (Convert.ToDateTime("2015-06-20") > Convert.ToDateTime("2015-03-31")) { return(BuyerDAL.GetBuyerInfo(buyerNick, status, area, grade, group, tradeAmount1, tradeAmount2, buerNick2, buyCount, Users.SellerId)); } else { return(BuyerOldDAL.GetBuyerInfo(buyerNick, status, area, grade, group, tradeAmount1, tradeAmount2, buerNick2, buyCount)); } }