protected void Button1_Click(object sender, EventArgs e) { cm.AddComputerPart(txtPartName.Text, int.Parse(txtPartType.Text), double.Parse(txtPrice.Text)); }