public missing Insert_missing_select(int ID) { missing = missing.Select(ID); Insert_client_other_info_txt.Text = Convert.ToString(missing.client_other_info); Insert_clothing_txt.Text = Convert.ToString(missing.clothing); Insert_date_of_disappearance_txt.Text = Convert.ToString(missing.date_of_disappearance); Insert_last_known_location_txt.Text = Convert.ToString(missing.last_known_location); return(missing); }
public missing missing_update(int ID) { missing = missing.Select(ID); missing.client_other_info = Update_client_other_info_txt.Text; missing.clothing = Update_clothing_txt.Text; missing.date_of_disappearance = Convert.ToDateTime(Update_date_of_disappearance_txt.Text); missing.last_known_location = Update_LocationDiscription_txt.Text; missing.Update(missing); //Insert_gvClientSearchresult.DataBind(); return(missing); }