如题
比如说,DbType中的varchar对应MySqlDbType的string,
cmd.Parameters.Add("?db", MySqlDbType.String);
其他的呢,比如说,DbType中的bool,对应MySqlDbType的是什么?