Example #1
0
 public void demobilization_delete(int ID)
 {
     demobilization.Delete(ID);
     Insert_demobilization_GridView.DataBind();
     Update_demobilization_GridView.DataBind();
     Delete_demobilization_GridView.DataBind();
 }
Example #2
0
 public demobilization demobilization_insert()
 {
     demobilization = demobilization.Insert(demobilization);
     Insert_demobilization_GridView.DataBind();
     Update_demobilization_GridView.DataBind();
     Delete_demobilization_GridView.DataBind();
     return(demobilization);
 }
Example #3
0
 public demobilization demobilization_update(int ID)
 {
     demobilization         = demobilization.Select(ID);
     demobilization.demo_id = Convert.ToInt32(Update_demo_id_txt.Text);
     demobilization.Update(demobilization);
     Insert_demobilization_GridView.DataBind();
     Update_demobilization_GridView.DataBind();
     Delete_demobilization_GridView.DataBind();
     return(demobilization);
 }