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);
 }
Example #2
0
 public missing missing_update(int ID)
 {
     missing                       = missing.Select(ID);
     missing.Missing_id            = Convert.ToInt32(Update_Missing_id_txt.Text);
     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_last_known_location_txt.Text;
     missing.Update(missing);
     Insert_missing_GridView.DataBind();
     Update_missing_GridView.DataBind();
     Delete_missing_GridView.DataBind();
     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;
 }
 public missing missing_update(int ID)
 {
     missing = missing.Select(ID);
     missing.Missing_id = Convert.ToInt32(Update_Missing_id_txt.Text);
     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_last_known_location_txt.Text;
     missing.Update(missing);
     Insert_missing_GridView.DataBind();
     Update_missing_GridView.DataBind();
     Delete_missing_GridView.DataBind();
     return missing;
 }