Dynamicweb 8 Documentation
Stock Property (Product)
Example 

Gets or sets the product stock.
Syntax
'Declaration
 
Public Property Stock As Double
public double Stock {get; set;}
Example
class MyPage : System.Web.UI.Page
{
   private void CommitProductStock(Product p, object value)
   {
       p.Stock = Base.ChkDouble(value);
   }
}
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

Product Class
Product Members

Send Feedback