Click here to Skip to main content
15,868,005 members

Comments by Programm3r (Top 95 by date)

Programm3r 23-Apr-15 8:36am View    
Why not make use of Entity Framework, instead of using inline SQL in your code?
Programm3r 21-Feb-14 2:59am View    
What are you on about?! The question is tagged as 'WPF' - I'm simply giving my opinion as to what I would do?!?
Programm3r 30-Jan-14 1:11am View    
No, I can't think of a way you can do it. If I were you, I would implement MVVM into my project.
Programm3r 29-Jan-14 1:57am View    
Are you making use of MVVM within your WPF application? If so, just create the new grid on the next page and bind it to the same ObservableCollection<t> as the previous grid.
Programm3r 29-Jan-14 1:51am View    
"...I have searched all over and I cannot figure out what I am doing wrong..." - The exception clearly states the issue: System.Xml.Linq.XDeclaration cannot be serialized because it does not have a parameterless constructor

Instead of asking "How do I return an XDocument from a web service", rather ask yourself, "Why do I want to return an XDocument from a web service"? Surely there are better ways of doing this... XML, JSON...