Dynamicweb 8 Documentation
Save Method (Rounding)
Example 

DB field name is RoundingID.
Saves the specified Rounding object into DB.
Syntax
'Declaration
 
Public Sub Save( _ 
   ByVal IDstr As String _ 
) 
public void Save( 
   string IDstr 
)

Parameters

IDstr
DB field name is RoundingID.
Example
class MyPage : System.Web.UI.Page
{
    public void DoSave(string roundId)
    {
        Dynamicweb.eCommerce.Prices.Rounding r = new Dynamicweb.eCommerce.Prices.Rounding(roundId);
        r.Save(roundId);
        Dynamicweb.eCommerce.Common.Application.KillCurrencies();
        Response.Redirect("../Lists/EcomList.aspx?type=ROUNDING");
        Response.End();
    }
}
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

Rounding Class
Rounding Members

Send Feedback