C
cameljs18
Please help! I have a table in the database with two columns set to
float.Now when i try to write to this table it executes perfect but
the values in the database dont change i have no idea what it could
be.Here is my code
private void button450Save_Click(object sender, EventArgs e)
{
SqlCommand Adapt450 = new SqlCommand("update op450set set
Min_Torque = 4.5,Max_Torque = 6.8", sqlConnection1);
sqlConnection1.Open();
Adapt450.ExecuteNonQuery();
sqlConnection1.Close();
}
Its simple code should work i have tested it in sqlmanager and it
works and my connection string is fine.Any suggestions??? thanks
float.Now when i try to write to this table it executes perfect but
the values in the database dont change i have no idea what it could
be.Here is my code
private void button450Save_Click(object sender, EventArgs e)
{
SqlCommand Adapt450 = new SqlCommand("update op450set set
Min_Torque = 4.5,Max_Torque = 6.8", sqlConnection1);
sqlConnection1.Open();
Adapt450.ExecuteNonQuery();
sqlConnection1.Close();
}
Its simple code should work i have tested it in sqlmanager and it
works and my connection string is fine.Any suggestions??? thanks