Dynamicweb.eCommerce.Prices Namespace : Rounding Class |
'Declaration
<SerializableAttribute()> Public Class Rounding
[SerializableAttribute()] public class Rounding
class MyPage : System.Web.UI.Page { public Dynamicweb.eCommerce.Prices.RoundingCollection GetRoundings(string RoundingID) { string SQL = "SELECT * FROM EcomRoundings WHERE RoundingID = '" + RoundingID + "'"; Dynamicweb.eCommerce.Prices.Rounding objRounding = default(Dynamicweb.eCommerce.Prices.Rounding); IDataReader objDataReader = Database.CreateDataReader(SQL, "Ecom.mdb"); Dynamicweb.eCommerce.Prices.RoundingCollection col = new Dynamicweb.eCommerce.Prices.RoundingCollection(); while (objDataReader.Read()) { objRounding = new Dynamicweb.eCommerce.Prices.Rounding(objDataReader); col.Add(objRounding); } objDataReader.Close(); objDataReader.Dispose(); return col; } }
System.Object
Dynamicweb.eCommerce.Prices.Rounding
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