Exemple #1
0
        protected void SubmitBTN_Click(object sender, EventArgs e)
        {
            ProductTypeModel model = new ProductTypeModel();
            ProductType      pt    = createProductType();

            LabelResult.Text = model.insertProductType(pt);
        }
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        ProductTypeModel model = new ProductTypeModel();
        producttype      p     = createProductType();

        lblResult.Text = model.insertProductType(p);
    }