Dynamicweb.eCommerce.Prices Namespace > Price Class : Save Method |
class MyPage : System.Web.UI.Page { private Price price; private void Page_Load(System.Object sender, System.EventArgs e) { price = (Price)Session["Ecom.Backend.Price"]; } public Price DoSave() { Price p = new Price(); p = price.Clone(); p.Save(p.ID, p.ProductID, ""); return p; } }
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