網(wǎng)站首頁
考試題庫
在線???/a>
智能家居
網(wǎng)課試題
問&答
熱門試題
登錄 |
注冊
網(wǎng)站首頁
考試題庫
熱門試題
智能家居
網(wǎng)課試題
微軟認(rèn)證考試
題庫首頁
每日一練
章節(jié)練習(xí)
MCTSMCTS(70-528)章節(jié)練習(xí)(2018.07.26)
來源:考試資料網(wǎng)
1
你需要在運行時通過程序引用一個用戶控件,下面那些是可行的方案?()
點擊查看答案
2
Your Web site processes book orders. One of the application methods contains the following code segment. XmlDocument doc = newXmlDocument(); doc.LoadXml(“
10
”+”
Dictionary
”); You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. ()
點擊查看答案
3
你使用拖放控件到 Visual Studio 2005 頁面設(shè)計器的方式,給 ASP.NET Web 窗體增加了一個用戶控件 MyControl。請問,Visual Studio 給你的 Web 窗體做了那些變化?()
點擊查看答案
4
You are transferring records from one database to another. You need to decide whether you can use the SqlBulkCopy class to transfer the records. What should you do? ()
點擊查看答案
5
You load an XmlDocument named doc with the following XML.
Dictionary
World Atlas
You need to change the value for the genre attribute to NA for all book attributes. First, you add the following code segment to your class. XmlElement root = doc.DocumentElement; XmlNodelist nodes = root.SelectNodes(“books/book”); Which additional two code segments can you use to achieve this goal? ()
點擊查看答案
6
你正在創(chuàng)建一個使用Web 部件的ASP.NET Web站點。你為Web頁增加了一個WebPartZones控件。下面那個控件可以實現(xiàn)給WebPartZones控件增加一個Web部件。()
點擊查看答案
7
You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site.
You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()
點擊查看答案
8
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?()
點擊查看答案
9
You create a Web Form that displays a GridView. The GridViews data source is a DataSet named dsOrders. The DataSet contains two DataTables named Orders and OrderDetails. You create a relation between the two DataTables using the following code segment. (Line numbers are included for reference only.)01 dtOrders = dsOrders.Tables[“Orders”]; 02 dtOrderDetails = dsOrders.Tables[“OrderDetail”]; 03 colParent = dtOrders.Columns[“OrderID”]; 04 colChild = dtOrderDetails.Columns[“ParentOrderID”]; 05 dsOrders.Relations.Add(“Rell”, colParent, colChild, false); You need to find the cause of the exception being raised in line 05. What should you do? ()
點擊查看答案
10
You are creating a Web Form. You write the following code segment to create a SqlCommand object. SqlConnection conn = new.SqlConnection(connString); conn.Open(); SqlCommand cmd = conn.CreateCommand(); cmd.CommandText = “select cont(*) from Customers”; You need to display the number of customers in the Customers table. Which two code segments can you use to achieve this goal? ()
點擊查看答案