select name,emailid from user_data where (name LIKE @name + '%') OR (emailid LIKE @emailid )
select name,emailid from user_data where (name LIKE @name + '%') OR (emailid LIKE @emailid + '%' )
select name,emailid from user_data where (name LIKE '%' + @name + '%' OR @name is null ) AND (emailid LIKE '%' + @emailid + '%' OR @emailid is null )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)