Ejemplo n.º 1
0
        private void SetLabelText(int productTypeId)
        {
            ProductType pt = ProductTypeHandler.GetProductType(productTypeId);

            prodName.Text = pt.Name;
            prodDesc.Text = pt.Description;
        }
Ejemplo n.º 2
0
 public static Product_Type GetProductType(int ID)
 {
     return(ProductTypeHandler.GetProductType(ID));
 }
Ejemplo n.º 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Gv_ProductType.DataSource = ProductTypeHandler.GetProductType();
     Gv_ProductType.DataBind();
 }