微软MCAD 70-310 实战百题
题目内容

You are developing an application to monitor store inventory. When inventory falls below a specified level, the application auto-matically generates a purchase request. Suppliers have requested that you transmit purchase requests to them in an XML document. Suppliers will accept the XML document in any valid form, except they do not want the data set definition to be included in the XML f ile.You create a method named GeneraLePurchaseRequest. You write the code to populate a DataSet object named myDataSet with the purchase request dat

2021-12-25

A.You define a variable named fileName that contains the name and path of the output file.You need to create an XML file from the data in myDataSet by adding code to GeneratePurchaseRequest. You want to accomplish this task by writing the minimum amount of code.Which code segment should you use?A.myDataSet.WriteXML(fileName, XmlWriteMode•IgnoreSchema)

B.myDataSet.WriteXML(fileName, XmlWriteMode.WriteSchema)

C.myDataSet.WriteXMLSchema(filename)

D.Dim myWriter As TextWriter = New StreamWriter(fileName) myDataSet.WriteXMLSchema(myWriter)

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端