shashanka_d shashanka_d

Niner since 2006


  • How-to: Query Vista Search From Your App

    I tried with a similar code. I was able to get the column name with reader.GetName(0) but the result set was not found. that is , when i say reader.GetString(0), i get the error saying there is no data in the row/column. i tried out with different keywords but still the same result. I also tried using the same keyword in the WDS, then i got some results. My prob is i am not able to get the same result programmatically. The query i am using is:

    SELECT DocTitle FROM systemindex..scope() WHERE CONTAINS('" + "Choose" + "')".

    here i am searching for the keyword "Choose".

    can neone pls help me on this..