Beispiel #1
0
 public void demobilization_location_delete(int ID)
 {
     demobilization_location.Delete(ID);
     Insert_demobilization_location_GridView.DataBind();
     Update_demobilization_location_GridView.DataBind();
     Delete_demobilization_location_GridView.DataBind();
 }
Beispiel #2
0
 public demobilization_location demobilization_location_insert()
 {
     demobilization_location.demo_id              = Convert.ToInt32(Insert_demo_id_txt.Text);
     demobilization_location.location_id          = Convert.ToInt32(Insert_location_id_txt.Text);
     demobilization_location.location_description = Insert_location_description_txt.Text;
     demobilization_location = demobilization_location.Insert(demobilization_location);
     Insert_demobilization_location_GridView.DataBind();
     Update_demobilization_location_GridView.DataBind();
     Delete_demobilization_location_GridView.DataBind();
     return(demobilization_location);
 }
Beispiel #3
0
 public demobilization_location demobilization_location_update(int ID)
 {
     demobilization_location = demobilization_location.Select(ID);
     demobilization_location.demo_location_id     = Convert.ToInt32(Update_demo_location_id_txt.Text);
     demobilization_location.demo_id              = Convert.ToInt32(Update_demo_id_txt.Text);
     demobilization_location.location_id          = Convert.ToInt32(Update_location_id_txt.Text);
     demobilization_location.location_description = Update_location_description_txt.Text;
     demobilization_location.Update(demobilization_location);
     Insert_demobilization_location_GridView.DataBind();
     Update_demobilization_location_GridView.DataBind();
     Delete_demobilization_location_GridView.DataBind();
     return(demobilization_location);
 }