多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do? ()

  • A、Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.
  • B、Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.
  • C、Read the XML file into a DataSet object and set the EnforceConstraints property to True.
  • D、Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题