C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Loading XML file into GUI


Posted Date: 20 Jul 2008      Total Responses: 1

Posted By: Prathap Reddy       Member Level: Silver     Points: 1


This is performance issue using infragistics controls - Need help regarding this.


Hi,


I am using the control Infragistics.Win.UltraWinTree.UltraTree to display xml nodes in to the GUI.
and using object of the class Infragistics.Win.UltraWinTree.UltraTreeNode to add child nodes and siblings their parent nodes to display into GUI.

I am using object of the class System.xml.XmlDocument to load XML file.

If data(properties) of particular node will be storing into structure array for later point of use.
For example : Element properties: Name, Type, MatchCreterion, DataStruct, Mandatory, Return are storing into structure object array. and will use later
Eg:
<ElementList>
<Element>
<Name>MSC</Name>
<Type>String</Type>
<MatchCreterion>Prefix</MatchCreterion>
<DataStruct />
<Mandatory>True</Mandatory>
<Return>Yes</Return>
</Element>
<Element>
<Name>SME</Name>
<Type>String</Type>
<MatchCreterion>Prefix</MatchCreterion>
<DataStruct />
<Mandatory>True</Mandatory>
<Return>Yes</Return>
</Element>
</ElementList>
Using for loop to add child nodes to their parent node. (Creating TreeNode objects and adding into their parent nodes).

Issue is Here:

If I am trying to load 10 MB xml file, it is taking 20 minutes time to load that file and CPU usage 100% for loading that file. After that system is becoming very slow.

Please provide the solution.

Its very important for my application.

Regards
Prathap




Responses

Author: Mohd. Azharuddin Ansari    31 Jul 2008Member Level: GoldRating:     Points: 2
Hi,
I am sending you my application please check it
and let me know if you face any problem
while you run the application it's through and exception
for database ignore that


Get XPath.zip
Post Reply
You must Sign In to post a response.
Next : How to Close Xml Child Tag in C#
Previous : Loading 10 or 20 MB XML into GUI - Performance Issue
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

conference call definitions

Contact Us    Privacy Policy    Terms Of Use