Advertisement

06.04.2008 at 03:37AM PDT, ID: 23456155
[x]
Attachment Details

Programatically binding XDocument to GridView

Asked by Esulin in Language Integrated Query - LINQ

I have an XDocument that I dynamically create from an external set of data. I would like to bind the content of the whole document to a gridview programmatically.

The structure of the XML is not set, although the data is flat (imported from flat tab separated file).

I tried creating a Linq select query against the XDocument, which I understand is one of the methods which returns an IQueryable object, but I did not manage to find a syntax which would work without a where statement.Start Free Trial
[+][-]06.04.2008 at 05:28AM PDT, ID: 21709286

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 01:44AM PDT, ID: 21717308

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 01:13AM PDT, ID: 21727103

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Language Integrated Query - LINQ
Sign Up Now!
Solution Provided By: naspinski
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.06.2008 at 11:46PM PDT, ID: 21734479

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 11:52PM PDT, ID: 21734490

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.06.2008 at 11:53PM PDT, ID: 21734493

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 11:54PM PDT, ID: 21734496

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628