For making a search implementation in your code, at first you need to implement a indexing and search framework. I can suggest you Lucene.Net for this...
go to the following link
http://lucene.apache.org/lucene.net/[
^]
by using this framework, you can easily index your pages and can make your website searchable.