- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Create and Display XML File
				
					
						
							Working with xml files problem: 1. Create a xml file giving values from user. O.k i know this initally.but, to append new elements i dont know the xml file should contain the structure, 
 12
 sanjay ganesh
 34
 hyd
 
 13
 sanjay ganesh
 44
 sec
 
 14
 sanju ganesh
 23
 hyd
 
 15
 samy ganesh
 34
 blore
 
 2. Next, from webpage we need to search perticular record example suppose i pass a value for age >30 the related patients details should display in some data controls like data grid/gridview or, suppose i passed first name as samy that related information should display in grid view control i dont know this.please help me in doing this problem. Hoping you reply soon.
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						  
 
 
			
				
				
				
					Re: Create and Display XML File
				
					
						
							The best solution for this is DataTable
 
 Here are the solutions explained to your problems
 
 1. Creating a XML file and appending nodes
 You can use a DataTable object having 4 columns with names as required. You can insert rows (values provided by user) into it easily.
 You can retrieve XML any time by using DataTable.ReadXML
 
 2. Filtering data
 There are methods available in DataTable to filter or sort data easily
 
 If still have some problem then post back.
 
 ---V V---
 Vikas Vaidya
 
 Please mark this post as Thanks if u find this post usefule
 
 
 
 
 
 
 
 
 
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				 Posting Permissions
				Posting Permissions
			
			
				
	
		- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-  
Forum Rules