I am trying to write a code for a custom search which will search only the Document Libraries and Display the results.
I thought of using CAML for this but i am not able to send the search word from a textbox to a CAML query.
this is my code
SPSite site =
SPWebCollection webs = site.AllWebs;