Try this:
ALTER PROCEDURE Database.SelectQuickSearch
(
@Gender varchar(15),
@Age int,
@Height varchar(50),
@MartialStatus varchar(20),
@ReligionId int,
@CasteId int,
@Country varchar(50)
)
AS
SELECT Registration.RegId
, Registration.FirstName
, Registration.LastName
, Registration.Age
, Registration.Gender
, Registration.Height
, Registration.Weight
, ReligionMaster.ReligionName
, Registration.Country
, CasteMaster.CasteName
, Registration.Education
FROM
Registration
INNER JOIN
ReligionMaster
ON Registration.ReligionId = ReligionMaster.ReligionId
INNER JOIN
CasteMaster
ON Registration.CasteId = CasteMaster.CasteId
WHERE
(Registration.Gender = @Gender)
AND
(Registration.Age = @Age)
AND
(Registration.Height = @Height)
AND
(Registration.MartialStatus = @MartialStatus)
AND
(Registration.ReligionId = @ReligionId)
AND
(Registration.CasteId = @CasteId)
AND
(Registration.Country = @Country)