protected void Clear_Click(object sender, EventArgs e) { CategoryList.ClearSelection(); SupplierList.ClearSelection(); ProductList.ClearSelection(); Message.DataSource = null; Message.DataBind(); }
protected void Clear(object sender, EventArgs e) { ID.Text = ""; Name.Text = ""; UnitPrice.Text = ""; Discontinued.Checked = false; CategoryList.ClearSelection(); SupplierList.ClearSelection(); }
protected void Clear_Click(object sender, EventArgs e) { ID.Text = ""; FirstName.Text = ""; LastName.Text = ""; Age.Text = ""; Gender.Text = ""; AlbertaHealthCareNumber.Text = ""; MedicalAlertDetails.Text = ""; CategoryList.ClearSelection(); SupplierList.ClearSelection(); }
protected void Clear(object sender, EventArgs e) { ID.Text = ""; Name.Text = ""; QuantityPerUnit.Text = ""; UnitPrice.Text = ""; UnitsInStock.Text = ""; UnitsOnOrder.Text = ""; ReorderLevel.Text = ""; Discontinued.Checked = false; CategoryList.ClearSelection(); SupplierList.ClearSelection(); }
protected void Clear_Click(object sender, EventArgs e) { ProductList.ClearSelection(); ProductID.Text = ""; ProductName.Text = ""; SupplierList.ClearSelection(); //reset to prompt line CategoryList.SelectedIndex = -1; //reset to prompt line QuantityPerUnit.Text = ""; UnitPrice.Text = ""; UnitsInStock.Text = ""; UnitsOnOrder.Text = ""; ReorderLevel.Text = ""; Discontinued.Checked = false; }
protected void Clear_Click(object sender, EventArgs e) { ProductID.Text = ""; ProductName.Text = ""; QuantityPerUnit.Text = ""; UnitPrice.Text = ""; UnitsInStock.Text = ""; UnitsOnOrder.Text = ""; ReorderLevel.Text = ""; Discontinued.Checked = false; SupplierList.ClearSelection(); CategoryList.ClearSelection(); //optionally ProductList.ClearSelection(); }