Dynamicweb 8 Documentation
deletePrices Method
Example 

DB field name is PriceProductID.
Deletes the prices.
Syntax
'Declaration
 
Public Shared Sub deletePrices( _ 
   ByVal prod As Product _ 
) 
public static void deletePrices( 
   Product prod 
)

Parameters

prod
DB field name is PriceProductID.
Example
class MyPage : System.Web.UI.Page
{
    public void DoDelete()
    { 
        Dynamicweb.eCommerce.Products.Product product = (Dynamicweb.eCommerce.Products.Product)Session["Ecom.Backend.Product"];
        Dynamicweb.eCommerce.Prices.Price.deletePrices(product);
    }
}
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

Price Class
Price Members

Send Feedback