Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Creating Your Own Research Service for the Microsoft Office 2003 Research Library : Page 4

Need to give users the ability to do quick searches of corporate data without adding yet another application to each user's desktop? The Research Library may be your answer. If your users have Office 2003, the user part is already there. All you have to do is add the research service.


advertisement
Reading XML
The XML packets sent as arguments to the Registration and Query methods include information you need to read in order to determine how your code should proceed. For example, the schema for the XML packet sent to the Query method includes a QueryText element. Its value is the term for which the user is searching.

ADO.NET's DataReader object provides efficient read-only, forward-only access to a query result.
Although you could parse the XML string with string functions, it is far easier to load the XML string as an XmlDocument object, as this code demonstrates:

<WebMethod()> Public Function



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date