Delete record from database - C# : I'm trying to delete record from data base MSSQL by entering the ID and hit delete btn. i didn't get any error and it give recorded deleted successful but once i check database i see the record doesn't deleted

protected void btnDelete_Click(object sender, EventArgs e)
    {
        try
        {
            if (txtImgID.Text == "")
            {

                Response.Write("Enter Image Id To Delete");
            }
            else
            {
                SqlCommand cmd = new SqlCommand();
                SqlConnection con = new SqlConnection();

                //con = new SqlConnection(ConfigurationManager.ConnectionStrings ("GMSConnectionString").ConnectionString);

                con = new SqlConnection(ConfigurationManager.ConnectionStrings["GMSConnectionString"].ConnectionString);

                con.Open();

                cmd = new SqlCommand("delete from certf where id=" + txtImgID.Text + "", con);



                lblsubmitt.Text = "Data Deleted Sucessfully";

            }
        }

        catch (Exception)
        {
            lblsubmitt.Text = "You haven't Submited any data";
        }
    }
}
