Try using "CONCAT" for joining your case results instead of "+"
"Select * from master where CONCAT(case(isnull(firstname) when 1 then '' else firstname end ,' ', case(isnull(lastname) when 1 then '' else lastname end) like '%" & Text1.Text & "%'"
If even then not getting success show what exact error is occurring.