{"Incorrect number of arguments for PROCEDURE tymes.mail_Add; expected 6, got 1"}
[MySql.Data.MySqlClient.MySqlException]: {"Incorrect number of arguments for PROCEDURE tymes.mail_Add; expected 6, got 1"}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: null
InnerException: null
Message: "Incorrect number of arguments for PROCEDURE tymes.mail_Add; expected 6, got 1"
Source: "MySql.Data"
StackTrace: " 在 MySql.Data.MySqlClient.MySqlStream.OpenPacket()\r\n 在 MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)\r\n 在 MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()\r\n 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()\r\n 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n 在 Nie.Data.MYYSQL.ExecuteStoredCommand(String procedureName, String[,] ps)\r\n 在 Nie.Data.MYSQLSTATIC.cmdStoredRun(String pn, String[,] ps)"
TargetSite: {Void OpenPacket()}
{MySql.Data.MySqlClient.MySqlCommand}
base {System.Data.Common.DbCommand}: {MySql.Data.MySqlClient.MySqlCommand}
CommandText: "mail_Add"
CommandTimeout: 30
CommandType: StoredProcedure
Connection: {MySql.Data.MySqlClient.MySqlConnection}
DesignTimeVisible: true
IsPrepared: false
LastInsertedId: 0
Parameters: {MySql.Data.MySqlClient.MySqlParameterCollection}
Transaction: null
UpdatedRowSource: Both
--转自