con.ConnectionString = con_str con.Open() com.Connection = con com.CommandText = "UPDATE kharabi SET natije=@natije where (kharabi_sal='" & TextBox10.Text & "' and kharabi_mah='" & TextBox6.Text & "' and kharabi_rooz='" & TextBox5.Text & "' and shomare='" & TextBox1.Text & "' and bookht='" & TextBox2.Text & "' and method='" & ComboBox1.Text & "' and moshkel='" & TextBox3.Text & "' and source='" & ComboBox2.Text & "' and markaz='" & ComboBox3.Text & "') " com.Parameters.AddWithValue("natije", TextBox4.Text) com.ExecuteNonQuery() MsgBox("انجام شد") com.Dispose() con.Close() DataGridView1.Refresh() Form3_Load(1, e)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)