Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 138: // a equals p.Attribute("first_name").Value[0] into groups
Line 139: join p in xml.Descendants("employee") on
Line 140: a equals p.Attribute("first_name").Value[0] into groups
Line 141: orderby a
Line 142: select new
umamahesh2020 -5 Light Poster
umamahesh2020 -5 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.