protected void B_Search_Click(object sender, EventArgs e) { //Matrimonial ID Entered if (RB_MatID.Checked) { if (MatrimonialMemberShip.GetApplicationID(TB_ID.Text) != null) { LoadPannel(TB_ID.Text); } else { //No Matching PN_NoRecords.Visible = true; } } else //userID Entered { string strTemp = MatrimonialMemberShip.GetApplicationID(TB_ID.Text, true, false); if (strTemp != null) { //Yes It Have LoadPannel(MatrimonialMemberShip.GetMatrimonialID(strTemp)); } else { Response.Write(strTemp); //No Matching PN_NoRecords.Visible = true; } } }
public MatMember(bool ISAllicationID, string ApplicationID, bool PrimaryInfo, bool BasicInfo, bool SocioReligiousInfo, bool EducationAndOccupation, bool PhysicalAttributes, bool ContactDetails, bool AboutYourSelf, bool FamilyDetails, bool HobbiesAndInterests, bool Preference) { strApplicationID = ApplicationID; strMatID = MatrimonialMemberShip.GetMatrimonialID(ApplicationID); if (PrimaryInfo) { loadPrimaryInfo(); } if (BasicInfo) { loadBasicInfo(); } if (SocioReligiousInfo) { loadSocioReligiousInfo(); } if (EducationAndOccupation) { loadEduNOcc(); } if (PhysicalAttributes) { loadPhysicalInfo(); } if (ContactDetails) { loadContactDetails(); } if (AboutYourSelf || Preference) { loadAboutYourSelf(); } if (FamilyDetails) { loadFamilyDetails(); } if (HobbiesAndInterests) { loadHobbiesAndInterests(); } if (Preference) { loadPreference(); } }