Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Respected sir/Madam,
thank you for solving my first solution. now i have to provide a facility that when user type text in textbox and click on search button the relevent data stored in xml file should be displayed in datagrid view if it matches from xmlnode.for example filmname ,star,price,year and country data is store in xml.when user type film-name in textbox if it matches the entire information related to that film should be displayed .
Posted

1 solution

This depends greatly on the XML structure you use. One way to locate the correct element is to use SelectNodes[^] method.

Have a look at an example at: http://www.java2s.com/Code/CSharp/XML/FindElementswithanXPathSearch.htm[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900