VC#2005 Express + MySQL Connector/.NETでMySqlCommand, MqSqlParameterを使ってきれいなクエリ。 MySqlCommand cmd = new MySqlCommand("INSERT INTO posts (url, title, description, content) VALUES (?url,?title,?description,?description)", mysqlConnection); cmd.Parameters.Add(new MySqlParameter("?url", Encoding.UTF8.GetBytes(channel.Items[i].Link.ToString()))); cmd.Parameters.Add(new MySqlParameter("?title", Encodin