Search

You searched for the word(s): userid:437689

Matching Posts

  • Issue with objects and interface

    I need help with an OO issue. Hopefully it will be a quick fix. I have the following interface and classes public interface ICustomer { string Id {get;set;} string Name {get;set;} } public class Customer : ICustomer { public string Id {get;set;} public string Name {get;set;} public int Age {get;set;} } public Class Customer2 : ICustomer { public string Id {get;set;} public string Name {get;set;} public string Address {get;set;} } And I have a method that returns an ICustomer, casted from Customer2
    Posted to Getting Started (Forum) by Niall20 on 11/17/2009
  • Certification Question

    I am looking to get certified in MCTS: .NET Framework 3.5, ASP.NET Applications To reach this level, I need to complete these 2 exams. Exam 70-536 : TS: Microsoft .NET Framework – Application Development Foundation Exam 70-562 : TS: Microsoft .NET Framework 3.5, ASP.NET Application Development I want to complete these with .net 3.5 framework. What I am looking to do is get reading material for such. Is there any kit I can purchase that encompasses both exams? Rather than having to purchase 2 sets
    Posted to Free For All (Forum) by Niall20 on 9/29/2009
  • Re: Certification Question

    Thanks for all feedback. Is this the book i need for the 70-536 exam? [quote user="rtpHarry"] This is the cover for the second edition of the book: http://www.amazon.com/MCTS-Self-Paced-Training-Exam-70-536/dp/0735626197/ref=sr_1_1?ie=UTF8&s=books&qid=1254240007&sr=1-1 [/quote]
    Posted to Free For All (Forum) by Niall20 on 9/29/2009
  • Re: Assistance with reading XML file with LINQ

    [quote user="Martin_Honnen"] Here is an example: view plain copy to clipboard print ? XDocument doc = XDocument.Load(@ "XMLFile2.xml" ); var result = new { TubDate = ( string )doc.Root.Element( "Tub" ).Element( "Tub" ).Attribute( "time" ), TubValues = doc.Root.Element( "Tub" ).Element( "Tub" ).Elements( "Tub" ).ToDictionary(t => ( string )t.Attribute( "prob" ), t => ( double )t.Attribute( "val"
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/15/2009
  • Re: Assistance with reading XML file with LINQ

    Thanks again for your help. I have tried what you suggested but I am now gettting a xmlexception with details -> The ':' character, hexadecimal value 0x3A, cannot be included in a name Any ideas?
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/15/2009
  • Re: Assistance with reading XML file with LINQ

    Martin, you are correct. I had changed the following line and it caused the issue XNamespace df = "http://someurl.com" TO var df = "http://someurl.com" Hence the problem. Now works a treat. Thanks very much for all your help.
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/15/2009
  • Re: Help with using XDocument

    Thanks for your help with this. What I was hoping to do, in this order was, check the header and if it has been modified since last time I downloaded the file, then save the file locally, otherwise do not. Can this be done, in this order with WebClient?
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/14/2009
  • Re: Help with using XDocument

    Thanks for your help Martin.
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/14/2009
  • Assistance with reading XML file with LINQ

    Need some help with parsing xml using linq. I am reading in an xml file into an XDocument as follows. XDocument xmlContent = XDocument.Load(url); Sample of the xml: <op> <op:subject>Main Subject</op:subject> <op:Sender> <op:name>Name of File</op:name> </op:Sender> <Tub> <Tub time="2009-07-14"> <Tub prob="A1" val="13.3991"/> <Tub prob="A2" val="30.34"/> <Tub prob="A3" val
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/14/2009
  • Help with using XDocument

    Hi, I need to do the following with XDocument. Read an xml file on the internet into a XDocument. eg var resultXml = System.Xml.Linq.XDocument.Load("http://website.com/samplefile.xml"); Get the files last modfied date and perform a check. Save the XDocument to my local drive. Any tips on how i do this?
    Posted to XML and XmlDataSource Control (Forum) by Niall20 on 7/13/2009
Page 1 of 98 (980 items) 1 2 3 4 5 Next > ... Last »