单项选择题
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. The application fills a DataSet object named cust with customer records. Your application contains the following code. (Line numbers are for reference only.)
01 System.IO.StreamWriter sw =
02 new System.IO.StreamWriter("Customers.xml"); 04 sw.Close();
You want to write the content of the cust object to the Customers.xml file as XML data along with inline XML schema.
What should you do?()
A.A
B.B
C.C
D.D
相关考题
-
多项选择题
VOIPhasbeenimplementedatthemainofficeoftheCompanynetwork.WhichtwostatementsaretrueaboutvoicepacketsinaLAN?()
A. Voice carrier stream utilizes Real-Time Transport Protocol (RTP) to carry the audio/media portion of the VoIP communication.
B. Voice traffic data flow involves large volumes of large packets.
C. Because a packet loss involves a small amount of data, voice traffic is less affected by packet losses than traditional data traffic is.
D. Voice packets are encapsulated in TCP segments to allow for proper sequencing during delivery.
E. Voice packets are very sensitive to delay and jitter. -
单项选择题
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. Your application contains the following code. 01 DataTable dt = new DataTable(); 02 dt.Columns.Add("number"); 03 dt.Columns.Add("string"); 04 dt.Rows.Add(1, "3"); 05 dt.Rows.Add(2, "2"); 06 dt.Rows.Add(3, "1"); 07 var result = from p in dt.AsEnumerable() 08 09 foreach (var number in result) { 10 Console.Write(number.ToString()); 11 } You need to display the string "321". What should you do?()
A.A
B.B
C.C
D.D -
单项选择题
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. Your application contains the following code. string queryString = "Select * from dbo.Users"; SqlCommand command = new SqlCommand(queryString, (SqlConnection)connection)); You want to get the value that is contained in the first column of the first row of the result set returned by the query. What should you do? ()
A.A
B.B
C.C
D.D
