public void relative_delete(int ID)
 {
     relative.Delete(ID);
     Insert_relative_GridView.DataBind();
     Update_relative_GridView.DataBind();
     Delete_relative_GridView.DataBind();
 }
 public relative relative_insert()
 {
     relative.case_id            = Convert.ToInt32(Insert_case_id_txt.Text);
     relative.client_id          = Convert.ToInt32(Insert_client_id_txt.Text);
     relative.address_id         = Convert.ToInt32(Insert_address_id_txt.Text);
     relative.relative_help_memo = Insert_relative_help_memo_txt.Text;
     relative.will_help          = Insert_will_help_txt.Text;
     relative = relative.Insert(relative);
     Insert_relative_GridView.DataBind();
     Update_relative_GridView.DataBind();
     Delete_relative_GridView.DataBind();
     return(relative);
 }
 public relative relative_update(int ID)
 {
     relative                    = relative.Select(ID);
     relative.relative_id        = Convert.ToInt32(Update_relative_id_txt.Text);
     relative.case_id            = Convert.ToInt32(Update_case_id_txt.Text);
     relative.client_id          = Convert.ToInt32(Update_client_id_txt.Text);
     relative.address_id         = Convert.ToInt32(Update_address_id_txt.Text);
     relative.relative_help_memo = Update_relative_help_memo_txt.Text;
     relative.will_help          = Update_will_help_txt.Text;
     relative.Update(relative);
     Insert_relative_GridView.DataBind();
     Update_relative_GridView.DataBind();
     Delete_relative_GridView.DataBind();
     return(relative);
 }