I'm trying to delete a row from my database, When I click to a row then press then my delete button it says that "No given value for one or more required parameters", I don't whats the error, I checked my table name and it's correct. My other delete button works fine
DialogResult result = MessageBox.Show("Are you sure you want to delete this user?",
           "Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
        if (result == DialogResult.Yes)
        {
            string sql = string.Format(@"DELETE FROM User_list WHERE ID ={0}",
                dataGridView2.CurrentRow.Cells[0].Value.ToString());
            crudTools.ExecuteQuery(sql);
            crudTools.FillDataGrid("SELECT * FROM User_list", ref dataGridView2);}
 
    