You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains the following code fragment. Hello World Ok You need to define a style that applies the following properties to the text in the StackPanel object: FontSize = 32 FontWeight = Bold Which code fragment should you use?()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a page that contains the following control. You write the following code segment in the code-behind file for the page. Private Sub LoadDate(ByVal sender As Object, _ByVal e As EventArgs) If IsPostBack Then calBegin.SelectedDate = _ DirectCast(ViewState("date"), DateTime) End If End Sub Private Sub SaveDate(ByVal sender As Object, _ByVal e As EventArgs) ViewState("date") = calBegin.SelectedDate End Sub You need to ensure that the calBegin Calendar control maintains the selected date. Which code segment should you insert in the constructor of the page? ()
在Microsoft Office Document Imaging中,可按两种格式打开和保存文件,并可对这两种格式的图像文字进行光学字符识别,将图像文字转换为文本文字。这两种格式是()。
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code segment. (Line numbers are included for reference only.) the TextBox control is data-bound to an instance of the Contact class. You need to ensure that the Contact class contains a business rule to ensure that the ContactName property is not empty or NULL. You also need to ensure that the TextBox control validates the input data. Which two actions should you perform?()
You plan to deploy the Virtualization technologies of Microsoft Desktop Optimization Pack (MDOP). You need to recommend a licensing solution for the planned deployment. What should you include in the recommendation?()
You are planning the migration of a Microsoft SQL Server 2008 database to SQL Azure. You need to recommend an approach for ensuring that database connectivity does not degrade. Which two actions should you recommend?()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application resides on a server named ContosoTest that runs Microsoft IIS 5.0. You use a computer named ContosoDev to log on to the Contoso.com domain with an account named ContosoUser. The ContosoTest and ContosoDev servers are members of the Contoso.com domain. You need to set up the appropriate permission for remote debugging. What should you do?()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0. You create a page named oldPage.aspx. You need to ensure that the following requirements are met when a user attempts to access the page: ¡;¤The browser diplays the URL of the oldPage.aspx page. ¡;¤The browser displays the page named newPage.aspx Which code segment should you use?()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You write the following code segment in the code-behind file to create a Web form. (Line numbers are included for reference only.) 01 string strQuery = "select * from Products;" 02 + "select * from Categories"; 03 SqlCommand cmd = new SqlCommand(strQuery, cnn); 04 cnn.Open( ); 05 SqlDataReader rdr = cmd.ExecuteReader( ); 06 07 rdr.Close( ); 08 cnn.Close( ); You need to ensure that the gvProducts and gvCategories GridView controls display the data that is contained in the following two database tables: ?¤The Products database tabl ?¤The Categories database tabl | English | Chinese | Japan | Korean | - 46 - Test Information Co., Ltd. All rights reserved. Which code segment should you insert at line 06?()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application consumes an ASMX Web service. The Web service is hosted at the following URL. http://www.contoso.com/TemperatureService/Convert.asmx You need to ensure that the client computers can communicate with the service as part of the configuration. Which code fragment should you use?()