SQLContainer: Remove record from the database

Hi guys,

I want to delete a record from the database but my code is not working. My code is below.

 SQLContainer DeleteContainer = new SQLContainer(new TableQuery("tbl_grade", connectionPool));
                        Object ItemID = table.getValue();
                        DeleteContainer.removeItem(ItemID);
                        DeleteContainer.commit();