protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { IProducyOperations opera = ProductProvider.GetProperProduct("XML"); pt = opera.GetAllProducts()[0]; } }
public void SetCatogary(ProductInfo pt, string catogary) { throw new Exception("no implemented."); }
private ProductInfo initialPTByXmlNode(XmlNode xNode) { ProductInfo pti = null; pti = new ProductInfo(); pti.pt_Name = xNode["ShellName"].InnerText; pti.pt_Brands = xNode["ShellBrands"].InnerText; pti.pt_Desc = xNode["ShellDesc"].InnerText; pti.pt_Catogary = xNode["ShellCategory"].InnerText; pti.pt_ImageName = xNode["ShellImageName"].InnerText; return pti; }
public void SaveProduct(ProductInfo pt) { throw new Exception("no implemented."); }
public void SetImage(ProductInfo pt, string imageName) { throw new Exception("no implemented."); }