You are developing the Payroll application that contains the

题目
单选题
You are developing the Payroll application that contains the SALARY and COMMISSION forms. When a user invoked the COMMISSION form from the SALARY form, the SAL value should be passed to the COMMISSION form. In which data form and at what time should you define the parameter to accept the value?()
A

SALARY form at runtime. 

B

SALARY form at design time. 

C

COMMISSION form at runtime. 

D

COMMISSION form at design time. 

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You install a custom application on a computer that runs Microsoft Windows XP. The application stores each user’s data in the %programfiles%\app1\data folder on the computer. You install the custom application on a computer that runs Windows Vista.On the Windows Vista computer, you back up the %programfiles%\app1\data folder and notice that the backup contains no data.You need to back up the application’s user data on the Windows Vista computer.What should you do?()

A.A

B.B

C.C

D.D


参考答案:D

第2题:

You have recently completed the creation of a new application.Certkiller .com requires you to ensure that this new application creates a file that contains an array of bytes.What should you do?()

A.

B.

C.

D.


参考答案:D

第3题:

You use Microsoft .NET Framework 4 to create a Windows Forms client application.You write the following code segment.The application contains a form of type Form1 that contains a FormSettings object named frmSettings1.You need to maintain the user‘s form size preference each time the user executes the application.Which code segment should you use? ()

A.

B.

C.

D.


参考答案:D

第4题:

You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()

  • A、 FrameworkElement
  • B、 UIElement
  • C、 UserControl
  • D、 Button

正确答案:C

第5题:

You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()

  • A、Pass the object data in a hidden field.
  • B、Store the object instance in a session variable.
  • C、Use a cookie that contains the object data.
  • D、Encode the object data and pass it in a query string parameter.

正确答案:B

第6题:

You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from List<T.. class named Lead. The Lead class contains the properties Title and Revenue.You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemsSource property to Leads as follows.You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue ...What should you do ?()

A.

B.

C.

D.


参考答案:C

第7题:

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of  the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()

  • A、[Bindable(false)]
  • B、[DesignOnly(false)]
  • C、[EditorBrowsable(EditorBrowsableState.Never)]
  • D、[Browsable(false)]

正确答案:D

第8题:

You are developing a client application that consumes a Windows Communication Foundation (WCF) service.The operation contract is as follows.[OperationContract][FaultContract(typeof(SalesFault))]string GetSales(string saleId);()The service configuration file contains the following line in the serviceBehaviors section.A divide-by-zero exception is not being handled by the service.You need to ensure that the exception is caught in the client application.Which type of exception should the client catch?()

A. TimeoutException

B. FaultException

C. DivideByZeroException

D. FaultException<SalesFault>


参考答案:B

第9题:

You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()

  • A、Modify the application settings by using the Web Site Administration Tool.
  • B、Modify the application settings by using the Visual Studio property page editor for the project.
  • C、Modify the application settings by using the resource editor.
  • D、Modify the application settings by using the Visual Studio start options editor.

正确答案:A

第10题:

Your company network includes 6,000 Windows 2000 Professional client computers and 35 Windows 2000 Server computers in a single domain. Your company has a print device that is used to print payroll checks. The print device is physically attached to the parallel port of one of the client computers. This print device’s tray is loaded with checks at all times. You have shared this printer on the network as ChkPrinter and retained the default permissions. A payroll application runs on a server named HRserv. Every Wednesday at 5:00P.M, the application prints paychecks from employees on this printer. The payroll application runs as a Windows 2000 service on HRserv. You need to configure ChkPrinter so that only the payroll application will be able to use the printer. What should you do?()

  • A、Configure the share name for ChkPrinter to be ChkPrinter$. Configure the payroll applicationto print to this new share name.
  • B、Configure ChkPrinter so that it is available only from 5:00 P.M to 5:30 P.M
  • C、Configure ChkPrinter to allow the HRserv domain account print permissions for ChkPrinter. Remove print permissions for the Everyone group.
  • D、Configure ChkPrinter to allow all HRserv domain accounts Print permissions for ChkPrinter. Change the permissions to deny print on ChkPrinter for the Everyone group.

正确答案:C

更多相关问题