protected void drp_State_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         Base_BLL_CommonFunction.FillCity(drp_City, Convert.ToInt32(drp_Country.SelectedValue), Convert.ToInt32(drp_State.SelectedValue), Convert.ToInt32(Session["FK_HospitalID"]));
     }
     catch (Exception ex)
     {
         uc_footer1.ShowMessage(MessageType.Error, ex.Message, false, MessagePosition.Top, false);
     }
 }
    protected void FillData_EditMode()
    {
        obj_Patient.GetPatient(Convert.ToInt32(Request.QueryString["FK_PatientID"]));

        txt_PatientRegNo.Text = obj_Patient.PatientRegID;

        txt_FirstName.Text  = obj_Patient.FirstName;
        txt_MiddelName.Text = obj_Patient.MiddleName;
        txt_LastName.Text   = obj_Patient.LastName;

        txt_CurrentAddress.Text   = obj_Patient.LocalAddress;
        txt_PermanentAddress.Text = obj_Patient.PermenentAddress;
        txt_ImageUrl.Text         = obj_Patient.ImageUrl;
        img_PatientImage.ImageUrl = obj_Patient.ImageUrl;
        drp_Gender.SelectedValue  = obj_Patient.Gender.ToString();
        txt_DOB.Text = obj_Patient.Birthdate;
        txt_Age.Text = obj_Patient.Age.ToString();
        drp_BloodGroup.SelectedValue = obj_Patient.BloodGroup;
        txt_PhoneNumber.Text         = obj_Patient.PhoneNo;
        txt_MobileNumber.Text        = obj_Patient.MobileNo;

        drp_MaritalStatus.SelectedValue = obj_Patient.MarritalStatus;
        chk_IsLocalite.Checked          = Convert.ToBoolean(obj_Patient.IsLocalite);

        txt_Weight.Text = obj_Patient.Weight.ToString();

        Base_BLL_CommonFunction.FillRefferedBy(drp_ReferredBy, Convert.ToInt32(Session["FK_HospitalID"]));
        drp_ReferredBy.SelectedValue = obj_Patient.RefferedBy.ToString();


        Base_BLL_CommonFunction.FillCountry(drp_Country, Convert.ToInt32(Session["FK_HospitalID"]));
        drp_Country.SelectedValue = obj_Patient.Country.ToString();

        Base_BLL_CommonFunction.FillState(drp_State, obj_Patient.Country, Convert.ToInt32(Session["FK_HospitalID"]));
        drp_State.SelectedValue = obj_Patient.State.ToString();

        Base_BLL_CommonFunction.FillCity(drp_City, obj_Patient.Country, obj_Patient.State, Convert.ToInt32(Session["FK_HospitalID"]));
        drp_City.SelectedValue = obj_Patient.City.ToString();

        chk_IsNew.Checked = Convert.ToBoolean(obj_Patient.IsNew);
        txt_Note.Text     = obj_Patient.Note;
    }