private void SavePrice_Button_Click(object sender, EventArgs e) { string newPrice = NewPrice_Textbox.Text.ToString(); // connect to DB if it is not connected if (!nsadb.Connected()) { nsadb.OpenConnection(); } //request the Records to display on the manager orders list nsadb.ManagerSetPrice(curitem, newPrice); MessageBox.Show("Price Updated!", "Price Update", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Close(); } //SavePrice_Button_Click