Dynamicweb.eCommerce.Orders Namespace > Order Class > GetOrders Method : GetOrders(String,String,String,String,Boolean,String) Method |
true
show cart. DB field name is OrderCart.
true
show cart. DB field name is OrderCart.class MyPage : System.Web.UI.Page { private void DoDelete() { string keyword = Base.ChkString(Request["searchField"]); string state = Base.ChkString(HttpContext.Current.Session["Ecom.Backend.Search.StateID"]); string startDate = Base.ChkString(Request["searchStartDate"]); string endDate = Base.ChkString(Request["searchEndDate"]); string shopID = Base.ChkString(HttpContext.Current.Session["Ecom.Backend.Search.ShopID"]); Dynamicweb.eCommerce.Orders.OrderCollection orderCol = Dynamicweb.eCommerce.Orders.Order.getOrders(keyword, state, startDate, endDate, false, shopID); foreach(Dynamicweb.eCommerce.Orders.Order o in orderCol){ //TODO: insert your code here } } }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2