Im creating this table
var sql = "CREATE TABLE TIPOS (ID_TIPO INT NOT NULL UNIQUE);";
And then im adding something to it
sql = "INSERT INTO ITEMS (ID_TIPO) VALUES (@body);";
using (var cmd = connection.CreateCommand ()) {
cmd.CommandText = sql;
cmd.Parameters.AddWithValue ("@Body", "2");
cmd.ExecuteNonQuery ();
}
So i just want to find that 2 when clicking on a button... i read that sample "notepad" and stuff but it is like full with that "note" stuff and i just cant separate things, can someone just tell me how simple like make it appear on the output by clicking on a button?