网站首页
考试题库
在线模考
智能家居
网课试题
经验教程
登录 |
注册
网站首页
考试题库
模拟考场
智能家居
网课试题
微软认证考试
题库首页
每日一练
章节练习
MCTSMCTS(70-528)章节练习(2018.07.26)
来源:考试资料网
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 页面设计器的方式,给 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
你正在创建一个使用Web 部件的ASP.NET Web站点。你为Web页增加了一个WebPartZones控件。下面那个控件可以实现给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? ()
点击查看答案