public void address_delete(int ID)
 {
     address.Delete(ID);
     Insert_address_GridView.DataBind();
     Update_address_GridView.DataBind();
     Delete_address_GridView.DataBind();
 }
 public address address_insert()
 {
     address.address_type_id = Convert.ToInt32(Insert_address_type_id_txt.Text);
     address.city            = Insert_city_txt.Text;
     address.country         = Insert_country_txt.Text;
     address.County_Township = Insert_County_Township_txt.Text;
     address.longitude       = Convert.ToDecimal(Insert_longitude_txt.Text);
     address.latitude        = Convert.ToDecimal(Insert_latitude_txt.Text);
     address.state           = Insert_state_txt.Text;
     address.str_add         = Insert_str_add_txt.Text;
     address.str_add2        = Insert_str_add2_txt.Text;
     address.zip_plus_four   = Insert_zip_plus_four_txt.Text;
     address = address.Insert(address);
     Insert_address_GridView.DataBind();
     Update_address_GridView.DataBind();
     Delete_address_GridView.DataBind();
     return(address);
 }
 public address address_update(int ID)
 {
     address                 = address.Select(ID);
     address.address_id      = Convert.ToInt32(Update_address_id_txt.Text);
     address.address_type_id = Convert.ToInt32(Update_address_type_id_txt.Text);
     address.city            = Update_city_txt.Text;
     address.country         = Update_country_txt.Text;
     address.County_Township = Update_County_Township_txt.Text;
     address.longitude       = Convert.ToDecimal(Update_longitude_txt.Text);
     address.latitude        = Convert.ToDecimal(Update_latitude_txt.Text);
     address.state           = Update_state_txt.Text;
     address.str_add         = Update_str_add_txt.Text;
     address.str_add2        = Update_str_add2_txt.Text;
     address.zip_plus_four   = Update_zip_plus_four_txt.Text;
     address.Update(address);
     Insert_address_GridView.DataBind();
     Update_address_GridView.DataBind();
     Delete_address_GridView.DataBind();
     return(address);
 }