how to delete selected rows in datagridview through delete button
<pre><code>SqlConnection con = new SqlConnection( "Data Source=AMBADNYA-PC;Initial
         Catalog=MYRAWPRO;Persist Security Info=True;User ID=sa;Password=sa");

string query = "DELETE FROM Sales  WHERE Sales_ID =" + 
                dataGridViewProduct.SelectedRows[0].Cells[0].Value.ToString();

SqlCommand com = new SqlCommand();

com.CommandText = query;
com.Connection = con;
con.Open();
com.ExecuteNonQuery();
con.Close();

MessageBox.Show("Deleted");
</code></pre>

<p>but it show error  </p>

<pre><code>Invalid column name 'uiui'.
</code></pre>

<p><code>uiui</code> is the column value. What am I doing wrong?</p>
