有关Object Data Source说法正确的是()

题目
单选题
有关Object Data Source说法正确的是()
A

它只能绑定数据访问层方法,才能返回正确数据

B

只有通过ADO.NET方式访问数据库

C

使用Object Data Source需要在表现层写SQL语句操作数据库

D

Object Data Source一般绑定业务逻辑层方法

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

第1题:

在表单中为表格控件指定数据源的属性是( )。

A.Data Source

B.Data From

C.Record Source

D.Reeord Source Type


正确答案:C
RecordSource属性指定表格的数据来源,RecordSourceType属性指明表格数据源的类型,选项A和B都不是表单控件的属性。

第2题:

The(72)turns the source file into an object file and the(73)turns the object file into an executable file.

A.translator

B.compiler

C.interpreter

D.linker


正确答案:B
解析:译文:编译程序将源文件转换成目标文件,连接程序将目标文件转换成可执行文件。

第3题:

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.


参考答案:B

第4题:

有关Object Data Source说法正确的是()

  • A、它只能绑定数据访问层方法,才能返回正确数据
  • B、只有通过ADO.NET方式访问数据库
  • C、使用Object Data Source需要在表现层写SQL语句操作数据库
  • D、Object Data Source一般绑定业务逻辑层方法

正确答案:D

第5题:

在OSS中,用户操作的基本数据单元是Object,Object中不包含哪个元素?()

  • A、key
  • B、id
  • C、meta
  • D、data

正确答案:B

第6题:

When an object receives a( ), methods contained within the object respond.

A.parameterB.informationC.messageD.data


正确答案:C

第7题:

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
解析:

第8题:

以下程序的输出结果是_____。 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) ;}


正确答案:Constructor for object6 Constructor for object5 Constructor for container Destructor for container Destructor for object5 Destructor for object6
Constructor for object6 Constructor for object5 Constructor for container Destructor for container Destructor for object5 Destructor for object6 解析:C++语言中的构造函数和析构函数分别是在声明对象时和对象调用完毕后调用,本题中的调用就是这样成对出现的。

第9题:

下列哪个控件可以通过绑定中间层对象来管理数据库()

  • A、Sql Data Souce
  • B、Xml Data Source
  • C、Object Data Source
  • D、Access Data Source

正确答案:C

第10题:

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

正确答案:D

更多相关问题