MySqlConnection conn=new MySqlConnection (connetStr);
CMD. ExecuteNonQuery ();
CMD. ExecuteNonQuery (); An error here

CodePudding user response:
There is no name CMD, all tell you, you go to find the cm this string
CodePudding user response:
CMD is not definedCodePudding user response:
MySQLCommand CMD=new MySQLCommand (commandStr, conn);CMD. ExecuteNonQuery ();