protected void SubmitButton_Click(object sender, EventArgs e) { ProductTypeModel model = new ProductTypeModel(); ProductType pt = createProductType(); SubmitButton.Text = model.InsertProductType(pt); }
protected void btnSubmit_Click(object sender, EventArgs e) { ProductTypeModel model = new ProductTypeModel(); ProductType pt = createProductType(); lblResult.Text = model.InsertProductType(pt); }
protected void btnSubmit_Click(object sender, EventArgs e) { ProductTypeModel model = new ProductTypeModel(); ProductType pt = CreateProductType(); lblResult.Text = model.InsertProductType(pt); }
protected void SubmitButton_Click(object sender, EventArgs e) { var model = new ProductTypeModel(); var productType = CreateProductType(); LabelResults.Text = model.InsertProductType(productType); }
protected void BtnSend_Click(object sender, EventArgs e) { ProductTypeModel model = new ProductTypeModel(); ProductType pt = CreateProductType(); lblResult.Text = model.InsertProductType(pt); TxtName.Text = string.Empty; }
protected void btnNewItem_Click(object sender, EventArgs e) { ProductTypeModel model = new ProductTypeModel(); ProductType create = CreateProductType(); LblResult.Text = model.InsertProductType(create); Response.Redirect(Request.RawUrl); }