Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         IProducyOperations opera = ProductProvider.GetProperProduct("XML");
         pt = opera.GetAllProducts()[0];
     }
 }
Пример #2
0
 public void SetCatogary(ProductInfo pt, string catogary)
 {
     throw new Exception("no implemented.");
 }
Пример #3
0
 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;
 }
Пример #4
0
 public void SaveProduct(ProductInfo pt)
 {
     throw new Exception("no implemented.");
 }
Пример #5
0
 public void SetImage(ProductInfo pt, string imageName)
 {
     throw new Exception("no implemented.");
 }