private
{
MessageBox.Show("edit the record");
Button1.Text="save";
}
oleDbConnection1.Open();
String sql="Update scorecard set departement='"+TextBox3.Text+"' where pincode='"+TextBox1.Text+"'";
oleDbUpdateCommand1.CommandText=sql;
oleDbUpdateCommand1.ExecuteNonQuery();
MessageBox.show("Record updated");
oleDbConnection1.Close();
Button1.Text="Edit";
MessageBox.Show(errData.ToString());
}What wolud be the problem? Iwant This button to update data in data base but It'failed to debug. The type or namespace name 'MessageBox' could not be found (are you missing a using directive or an assembly reference?)