看看这道题
denal 2003-05-08 03:33:02 You develop a Windows-based applicatin named Payroll. Your application receives information in the form of an XML data file named dataFile. Tghis file does not include any schema information. You need to write code to load the XML data into a DataSet object.
Which code segment should you use?
DataSet ds=new DataSet("payrolldata"0;
A. ds.ReadXml(dataFile,XmlReadMode.IgnoreSchema);
B. ds.ReadXml(dataFile,XmlReadMode.InferSchema);
C. ds.ReadXml(dataFile,XmlReadMode.ReadSchema);
D. ds.ReadXml(dataFile,XmlReadMode.Fragment);
答案为什么是B