public house_choice Delete_house_choice_select(int ID)
 {
     house_choice = house_choice.Select(ID);
     Delete_house_choice_id_txt_lbl.Text = Convert.ToString(house_choice.house_choice_id);
     Delete_house_id_txt_lbl.Text = Convert.ToString(house_choice.house_id);
     Delete_address_id_txt_lbl.Text = Convert.ToString(house_choice.address_id);
     Delete_house_choice_bathrooms_txt_lbl.Text = Convert.ToString(house_choice.house_choice_bathrooms);
     Delete_house_choice_comments_txt_lbl.Text = Convert.ToString(house_choice.house_choice_comments);
     Delete_house_choice_contact_person_id_txt_lbl.Text = Convert.ToString(house_choice.house_choice_contact_person_id);
     Delete_house_choice_laundry_txt_lbl.Text = Convert.ToString(house_choice.house_choice_laundry);
     Delete_house_choice_no_floors_txt_lbl.Text = Convert.ToString(house_choice.house_choice_no_floors);
     Delete_house_choice_parking_txt_lbl.Text = Convert.ToString(house_choice.house_choice_parking);
     Delete_house_choice_rent_txt_lbl.Text = Convert.ToString(house_choice.house_choice_rent);
     Delete_house_choice_type_txt_lbl.Text = Convert.ToString(house_choice.house_choice_type);
     Delete_house_choice_units_avail_txt_lbl.Text = Convert.ToString(house_choice.house_choice_units_avail);
     return house_choice;
 }
 public house_choice house_choice_update(int ID)
 {
     house_choice = house_choice.Select(ID);
     house_choice.house_choice_id = Convert.ToInt32(Update_house_choice_id_txt.Text);
     house_choice.house_id = Convert.ToInt32(Update_house_id_txt.Text);
     house_choice.address_id = Convert.ToInt32(Update_address_id_txt.Text);
     house_choice.house_choice_bathrooms = Convert.ToInt32(Update_house_choice_bathrooms_txt.Text);
     house_choice.house_choice_comments = Update_house_choice_comments_txt.Text;
     house_choice.house_choice_contact_person_id = Convert.ToInt32(Update_house_choice_contact_person_id_txt.Text);
     house_choice.house_choice_laundry = Update_house_choice_laundry_txt.Text;
     house_choice.house_choice_no_floors = Convert.ToInt32(Update_house_choice_no_floors_txt.Text);
     house_choice.house_choice_parking = Update_house_choice_parking_txt.Text;
     house_choice.house_choice_rent = Convert.ToDecimal(Update_house_choice_rent_txt.Text);
     house_choice.house_choice_type = Update_house_choice_type_txt.Text;
     house_choice.house_choice_units_avail = Convert.ToInt32(Update_house_choice_units_avail_txt.Text);
     house_choice.Update(house_choice);
     Insert_house_choice_GridView.DataBind();
     Update_house_choice_GridView.DataBind();
     Delete_house_choice_GridView.DataBind();
     return house_choice;
 }
 protected void UPDATE(object sender, EventArgs e)
 {
     house_choice = house_choice_update(Convert.ToInt32(Update_house_choice_GridView.SelectedValue));
 }
 protected void Update_Select_Record(object sender, EventArgs e)
 {
     house_choice = Update_house_choice_select(Convert.ToInt32(Update_house_choice_GridView.SelectedValue));
 }
 protected void INSERT(object sender, EventArgs e)
 {
     house_choice = house_choice_insert();
 }