/* on submit it will add all breed information to databse with validating duplicate entry*/
    protected void ImgSubmitService_Click(object sender, EventArgs e)
    {
        StoreFront ObjStoreFront = new StoreFront();
        int        count         = ObjStoreFront.AddBreed(txtBreedName.Text.Trim(), Convert.ToInt32(ddlPetType.SelectedValue));

        if (count == 1)
        {
            SuccesfullMessage("Breed Name added successfully.");
            txtBreedName.Text = "";
            BindGrid(ddlPetList.SelectedValue);
        }
        else
        {
            ErrMessage("Duplicate Breed name.");
            txtBreedName.Text = "";
        }
    }