网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
有关Object Data Source说法正确的是()
- A、它只能绑定数据访问层方法,才能返回正确数据
- B、只有通过ADO.NET方式访问数据库
- C、使用Object Data Source需要在表现层写SQL语句操作数据库
- D、Object Data Source一般绑定业务逻辑层方法
参考答案
更多 “有关Object Data Source说法正确的是()A、它只能绑定数据访问层方法,才能返回正确数据B、只有通过ADO.NET方式访问数据库C、使用Object Data Source需要在表现层写SQL语句操作数据库D、Object Data Source一般绑定业务逻辑层方法” 相关考题
考题
Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit. During the process, you need to configure the .NET Data Provider that you use to create the data source objects. What should you do?()A. Right-click the connection, and click Properties. Modify the Provider property of the data connection.B. Click the Change button, and change the data provider for the selected data source.C. Click the Advanced button, and change the Data Source property to the target provider.D. Click the Advanced button, and change the Application Name property to the target provider.
考题
以下程序的输出结果是_____。 include class object {private:int val; public:objec
以下程序的输出结果是_____。include<iostream.h>class object{ private:int val;public:object( ) ;object(int i) ;~object( ) ;};object: :object( ){ val=0;cout < < "Default constructor for object" < < endl;}object: :object(int i){ val=i;cout < < "Constructor for object" < < val < < endl;}object: :~object( ){ cout < < "Destructor for object" < < val < < endl;}class container{ private:object one;object two;int data;public:container( ) ;container(int i,int j,int k) ;~container( ) ;};container: :container( ){ data=0;cout < < "Default constructor for container" < < endl;}container: :container(int i,int j,int k) :two(i) ,one(j){ data=k;cout < < "Constructor for container" < < endl;}container: :~container( ){ cout < < "Destructor for container" < < endl;}void main( ){ container anObj(5,6,10) ;}
考题
When an object receives a( ), methods contained within the object respond.A.parameterB.informationC.messageD.data
考题
The(72)turns the source file into an object file and the(73)turns the object file into an executable file.A.translatorB.compilerC.interpreterD.linker
考题
Because objects( ) data and implementation, the user of an object can view the object as a black box that provides services.A.encapsulate
B.inherit
C.connect
D.refer
考题
下列哪个控件可以通过绑定中间层对象来管理数据库()A、Sql Data SouceB、Xml Data SourceC、Object Data SourceD、Access Data Source
考题
The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the found code entered. The values needed to generate this summary data are stored in multiple tables. Which data source type can you assign to the data block for this form without having the DBA create a database object?()A、database table B、transactional trigger C、stored procedure D、FROM clause query E、client-side procedure
考题
A Company.com developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner. Which two can support this design goal?()A、 Store the data in a local variable.B、 Store the data in an instance variable.C、 Store the data in the HttpSession object.D、 Store the data in the ServletContext object.E、 Store the data in the ServletRequest object.
考题
You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do? ()A、Access the personalization data from the Session property of the HttpContext object.B、Access the personalization data from the Application property of the HttpContext object.C、Access the personalization data from the Cache property of the HttpContext object.D、Access the personalization data from the Profile property of the HttpContext object.
考题
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.
考题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems. Which binding expression should you use?()A、{ Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }B、{ Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }C、{ Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }D、{ Binding Source=lbxItems, Path=SelectedItem.DisplayValue }
考题
Why is a data source required?()A、 Data source contains data required for impact event enrichment.B、 Data source contains data required for calculating server downtime.C、 Data source contains data required for services and other related service information.D、 Data source contains data required for LDAP configurations, including login attempts and errors.
考题
单选题You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()A
Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. B
Choose Tools - Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. C
Choose Tools - Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. D
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. E
Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.
考题
单选题The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the fund code entered. The value needed to generate this summary data are stored in multiple tables. How would you define the data source for this data block without having the DBA create a database object? ()A
Choose Tools - Data Block Wizard, select View as the data source type, and base the block on the columns from the bales. B
Choose Tools - Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. C
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually and alter the Query Data Source Columns and Query Data Source Arguments properties to enter the SELECT statement. D
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Table', and enter the SELECT statement in the Query Data Source Name property. E
Choose Tools - Data Block Wizard, select Stored Procedure as the data source type, and base the block on the columns the tables. F
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually. Alter the Query Data Source Type to 'FROM' clause query', and enter the SELECT statement in the Query Data Source Name property.
考题
单选题You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems. Which binding expression should you use?()A
{ Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }B
{ Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }C
{ Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }D
{ Binding Source=lbxItems, Path=SelectedItem.DisplayValue }
考题
单选题You are creating the SAL_INFO data block on the EMP_QUERY form. The SALARY field should only be populated if the logged-on user is a manager. Since this query could potentially return a large amount of records, you have created a stored procedure which uses a ref cursor on which to base the data block. How would you create the data block?()A
Click the Data Blocks node in the Object Navigator and click the create button. Choose to build the data block manually. Enter the procedure name in the Query Data Source Columns property and the procedure code in the Query Data Source Arguments property. B
Choose Tools - Data Block Wizard, select Table as the data source type, and base the data block on the columns included in the procedure. C
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Ref cursor', and enter the name of the procedure in the Query Data Source Name property. D
Select the Data Blocks node in the Object Navigator and click the Create button. Alter the Query Data Source Name, Query Data Source Columns, and Query Data Source Arguments properties to create a stored procedure that uses a ref cursor. E
Launch the Data Block Wizard, select Stored Procedures as the data source type, and base the block on the procedure.
考题
单选题Why is a data source required?()A
Data source contains data required for impact event enrichment.B
Data source contains data required for calculating server downtime.C
Data source contains data required for services and other related service information.D
Data source contains data required for LDAP configurations, including login attempts and errors.
考题
单选题有关Object Data Source说法正确的是()A
它只能绑定数据访问层方法,才能返回正确数据B
只有通过ADO.NET方式访问数据库C
使用Object Data Source需要在表现层写SQL语句操作数据库D
Object Data Source一般绑定业务逻辑层方法
考题
多选题You use Microsoft .NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create a new object data source. You add the following components to a Windows Form: A BindingSource component named customerBindingSource that is data-bound to the Customer object data source. A set of TextBox controls to display and edit the Customer object properties. Each TextBox control is data-bound to a property of the customerBindingSource component. An ErrorProvider component named errorProvider that validates the input values for each TextBox control. You need to ensure that the input data for each TextBox control is automatically validated by using the ErrorProvider component. Which two actions should you perform?()AImplement the validation rules inside the Validating event handler of each TextBox control by throwing an exception when the value is invalid.BImplement the validation rules inside the TextChanged event handler of each TextBox control by throwing an exception when the value is invalid.CImplement the validation rules inside the setter of each property of the Customer class by throwing an exception when the value is invalid.DAdd the following code segment to the InitializeComponent method of the Windows Form.this.errorProvider.DataSource = this.customerBindingSource;EAdd the following code segment to the InitializeComponent method of the Windows Form. this.errorProvider.DataSource = this.customerBindingSource.DataSource; this.errorProvider.DataMember = this.customerBindingSource.DataMember;
考题
多选题A Company.com developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner. Which two can support this design goal?()AStore the data in a local variable.BStore the data in an instance variable.CStore the data in the HttpSession object.DStore the data in the ServletContext object.EStore the data in the ServletRequest object.
考题
单选题You design a Business Intelligence (BI) solution by using SQL Server 2008. You create a SQL Server 2008 Reporting Services (SSRS) solution by using SQL Server 2008. Several reports on the server use a shared data source named DSProduction. You modify an existing report that uses the DSProduction data source. After deployment, the modified report must use an alternate data source. You need to prevent the modified report from affecting other reports. What should you do?()A
Update the connection string of the DSProduction shared data source to point to the alternate data source.B
Update the modified report to use a report-specific data source. Update the connection string of the report-specific data source to point to the alternate data source.C
Create a new shared data source named DSProduction in the same folder as that of the modified report. Update the connection string of the new shared data source to point to the alternate data source.D
Disable the DSProduction data source. Update the modified report to use a report-specific data source. Update the connection string of the report-specific data source to point to the alternate data source.
考题
单选题How can you configure High Availability for interacting with a non-Oracle database using WebLogic?()A
Configure multiple physical data sources and reuse the same JNDI name for each.B
Use the compatibility option of Active GridLink to enable compatibility with non-Oracle databases.C
Configure a single physical data source for each node in a database cluster and wrap it using Multi Data Source.D
Configure a Data Source Group that contains a physical connection pool to each node in the database cluster.
考题
多选题A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in athread-safe manner. Which two can support this design goal?()AStore the data in a local variable.BStore the data in an instance variable.CStore the data in the HttpSession object.DStore the data in the ServletContext object.EStore the data in the ServletRequest object.
考题
单选题You design a Business Intelligence (BI) solution by using SQL Server 2008. You design a SQL Server 2008 Analysis Services (SSAS) solution. Customer data is stored in the tables named CustomerDetails and CustomerContact. The solution uses the following two data sources from two different servers: ·Contoso that accesses the CustomerDetails table ·ContosoCRM that accesses the CustomerContact table You plan to create a dimension named DimCustomer to analyze customer data. You need to ensure that the DimCustomer dimension represents the tables as a snowflake schema to include attributes from the two tables. What should you do?()A
Create a data source view named DsvContoso that is associated with the two data sources and add the tables to the data source view.B
Create a data source view named DsvContoso that is associated with the two data sources and create a named query in the data source view to merge the tables.C
Create a data source view named DsvCustomer that is associated with the Contoso data source and add the CustomerDetails table to the data source view.Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and add the CustomerContact table to the data source view.D
Create a data source view named DsvCustomer that is associated with the Contoso data source and create a named query in the data source view to select data from the CustomerDetails table.Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and create a named query in the data source view to select data from the CustomerContact table.
考题
单选题下列哪个控件可以通过绑定中间层对象来管理数据库()A
Sql Data SouceB
Xml Data SourceC
Object Data SourceD
Access Data Source
热门标签
最新试卷