) pero bue, aqui el code:
Código:
Bueno, cualquier ayuda será muy agradecida, Saludos! private void button1_Click(object sender, EventArgs e)
{
string connectionString = "Server=localhost;Database=miBase;User ID=root;Password=root;Pooling=false;";
MySqlConnection conn = new MySqlConnection(connectionString);
string valor1 = this.textBox1.Text;
string valor2 = this.textBox2.Text;
string query = "INSERT INTO post (id, titulo, contenido, id_categoria) VALUES (null, valor1, valor2, 1)";
conn.Open();
MySqlCommand myCommand = new MySqlCommand(query, conn);
myCommand.Dispose();
conn.Close();
textBox1.Focus();
}
Gustavo.
. 


