public void task_location_delete(int ID)
 {
     task_location.Delete(ID);
     Insert_task_location_GridView.DataBind();
     Update_task_location_GridView.DataBind();
     Delete_task_location_GridView.DataBind();
 }
 public task_location task_location_insert()
 {
     task_location.task_id = Convert.ToInt32(Insert_task_id_txt.Text);
     task_location.task_loc_description = Insert_task_loc_description_txt.Text;
     task_location = task_location.Insert(task_location);
     Insert_task_location_GridView.DataBind();
     Update_task_location_GridView.DataBind();
     Delete_task_location_GridView.DataBind();
     return(task_location);
 }
 public task_location task_location_update(int ID)
 {
     task_location                      = task_location.Select(ID);
     task_location.task_loc_id          = Convert.ToInt32(Update_task_loc_id_txt.Text);
     task_location.task_id              = Convert.ToInt32(Update_task_id_txt.Text);
     task_location.task_loc_description = Update_task_loc_description_txt.Text;
     task_location.Update(task_location);
     Insert_task_location_GridView.DataBind();
     Update_task_location_GridView.DataBind();
     Delete_task_location_GridView.DataBind();
     return(task_location);
 }