public void person_delete(int ID)
 {
     person.Delete(ID);
     Insert_person_GridView.DataBind();
     Update_person_GridView.DataBind();
     Delete_person_GridView.DataBind();
 }
 public person person_update(int ID)
 {
     person                                   = person.Select(ID);
     person.person_id                         = Convert.ToInt32(Update_person_id_txt.Text);
     person.Resource_ID                       = Convert.ToInt32(Update_Resource_ID_txt.Text);
     person.address_id                        = Convert.ToInt32(Update_address_id_txt.Text);
     person.address_id2                       = Convert.ToInt32(Update_address_id2_txt.Text);
     person.birthdate                         = Convert.ToDateTime(Update_birthdate_txt.Text);
     person.certification_number              = Update_certification_number_txt.Text;
     person.f_name                            = Update_f_name_txt.Text;
     person.m_initial                         = Update_m_initial_txt.Text;
     person.l_name                            = Update_l_name_txt.Text;
     person.gender                            = Update_gender_txt.Text;
     person.person_type                       = Update_person_type_txt.Text;
     person.phone_primary                     = Update_phone_primary_txt.Text;
     person.phone_secondary                   = Update_phone_secondary_txt.Text;
     person.email                             = Update_email_txt.Text;
     person.ssn                               = Convert.ToInt32(Update_ssn_txt.Text);
     person.Maiden_Name                       = Update_Maiden_Name_txt.Text;
     person.Visa_Issue_Date                   = Convert.ToDateTime(Update_Visa_Issue_Date_txt.Text);
     person.Visa_Expire_Date                  = Convert.ToDateTime(Update_Visa_Expire_Date_txt.Text);
     person.Visa_Selected_Value_B1            = Convert.ToInt32(Update_Visa_Selected_Value_B1_txt.Text);
     person.Visa_Selected_Value_B2            = Convert.ToInt32(Update_Visa_Selected_Value_B2_txt.Text);
     person.Visa_Selected_Value_K1            = Convert.ToInt32(Update_Visa_Selected_Value_K1_txt.Text);
     person.Visa_Selected_Value_K3            = Convert.ToInt32(Update_Visa_Selected_Value_K3_txt.Text);
     person.Visa_Selected_Value_L1            = Convert.ToInt32(Update_Visa_Selected_Value_L1_txt.Text);
     person.Visa_Selected_Value_L2            = Convert.ToInt32(Update_Visa_Selected_Value_L2_txt.Text);
     person.Visa_Selected_Value_H4            = Convert.ToInt32(Update_Visa_Selected_Value_H4_txt.Text);
     person.Visa_Selected_Value_F1            = Convert.ToInt32(Update_Visa_Selected_Value_F1_txt.Text);
     person.Visa_Selected_Value_J1            = Convert.ToInt32(Update_Visa_Selected_Value_J1_txt.Text);
     person.Visa_Selected_Value_M1            = Convert.ToInt32(Update_Visa_Selected_Value_M1_txt.Text);
     person.Visa_Selected_Value_H_1B          = Convert.ToInt32(Update_Visa_Selected_Value_H_1B_txt.Text);
     person.Visa_Selected_Value_H_2B          = Convert.ToInt32(Update_Visa_Selected_Value_H_2B_txt.Text);
     person.Visa_Selected_Value_B_2           = Convert.ToInt32(Update_Visa_Selected_Value_B_2_txt.Text);
     person.Visa_Selected_Value_Schengen      = Convert.ToInt32(Update_Visa_Selected_Value_Schengen_txt.Text);
     person.Perm_Resident_Alien_Resid_Date    = Convert.ToDateTime(Update_Perm_Resident_Alien_Resid_Date_txt.Text);
     person.Perm_Resident_Alien_Expire_Date   = Convert.ToDateTime(Update_Perm_Resident_Alien_Expire_Date_txt.Text);
     person.Perm_Resident_Alien_A_number      = Convert.ToInt32(Update_Perm_Resident_Alien_A_number_txt.Text);
     person.Perm_Resident_Alien_USCIS_number  = Convert.ToInt32(Update_Perm_Resident_Alien_USCIS_number_txt.Text);
     person.Perm_Resident_Alien_Birth_Country = Update_Perm_Resident_Alien_Birth_Country_txt.Text;
     person.Perm_Resident_Alien_Category      = Update_Perm_Resident_Alien_Category_txt.Text;
     person.Driver_State_ID                   = Update_Driver_State_ID_txt.Text;
     person.Citizenship                       = Update_Citizenship_txt.Text;
     person.Marital_Status                    = Update_Marital_Status_txt.Text;
     person.Minor_Children                    = Convert.ToInt32(Update_Minor_Children_txt.Text);
     person.Update(person);
     Insert_person_GridView.DataBind();
     Update_person_GridView.DataBind();
     Delete_person_GridView.DataBind();
     return(person);
 }