Skip to content

Very EASY please !

crest dubua

Asked May 19, 2008, 10:56 AM EDT2 answers
Share
LinkedInX

I got this message on this LINE of CODE :

XmlTextReader XTR = new XmlTextReader("D:\\BOTOLA_MyDocument_Projects\\My Documents\\Visual Studio 2005\\Projects\\cs_XML_World\\WA_XML\\JO.xml");

while (XTR.Read);

Error 1 Cannot convert method group 'Read' to non-delegate type 'bool'. Did you intend to invoke the method?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    Try adding braces like XTR.Read().

    HTH.

    0
  • 1 short reply
    • 0

      thanks

      0