Dynamicweb 8 Documentation
OrderCollection Class
Members  Example 

Represents a collection of the orders.
Object Model
OrderCollection ClassOrder Class
Syntax
Example
class MyPage : System.Web.UI.Page
{
   private int NumPages(ref Dynamicweb.eCommerce.Orders.OrderCollection Orders, ref Dynamicweb.eCommerce.CustomerCenter.CustomerCenterSettings Settings)
   {
       int pageSize = Settings.ItemsPerPage;

       int ret = 0;
       ret = Convert.ToInt32(Orders.Count / pageSize);
       if ((ret * pageSize) < Orders.Count)
       {
           ret += 1;
       }
       return ret;
   }
}
Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection<T>
      Dynamicweb.eCommerce.Orders.OrderCollection
         Dynamicweb.eCommerce.Orders.CustomerOrderCollection

Requirements

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

See Also

Reference

OrderCollection Members
Dynamicweb.eCommerce.Orders Namespace

Send Feedback