943,970 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 5132
  • C# RSS
Oct 17th, 2007
0

Displaying an XML table

Expand Post »
Hello, I'm rather new to C# though I have extensive experience with C++. I need help displaying a couple XML documents that I've created on an ASP page. My intent is to display a table showing the contents of the XML document in table form initially. After that I want to be able to run a simple search on a field that returns a matches back also displayed in a table. I have roughly an idea which direction I want to go but I'm just not quite sure where to get started. I do believe I have to populate a grid or table but I'm not sure which one to use and how that would be displayed in my function.
Similar Threads
MSC
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MSC is offline Offline
1 posts
since Oct 2007
Oct 17th, 2007
0

Re: Displaying an XML table

Use XLINQ it'd help you a lot..
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Oct 18th, 2007
0

Re: Displaying an XML table

Use XLINQ it'd help you a lot..
Most people don't have support for that yet

If you're using ASP.NET, you'll likely want a GridView for your table, and an XmlDataSource for getting your data. If your data format doesn't line up well with how the XmlDataSource pulls it out by default, you can either create an XSL to convert between the XML and how it gets displayed, or you can write some XPath queries to build a data set programmatically and then bind to that. If by chance your server does support C# 3.0, then you should consider XLINQ.
Reputation Points: 683
Solved Threads: 53
Posting Virtuoso
Infarction is offline Offline
1,580 posts
since May 2006
Oct 26th, 2007
0

Re: Displaying an XML table

Lets just keep in mind 3.0 is still beta, right? Why would you code on beta?

Infraction is right on the money
Reputation Points: 12
Solved Threads: 1
Newbie Poster
tostrinj is offline Offline
20 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: call cmd processes and keeping them cmd window
Next Thread in C# Forum Timeline: ArrayList from something other than primitives





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC