在下列基本表的定义中,数值5表示( )CREATE TABLE student(Sno char(5) not null unique,Sname char(2));
A. 表中有5条记录
B. 表中有5列
C. 表中字符串Sno 的长度
D. 表格的大小
在使用ADO.NET编写连接到SQLServer2000数据库的应用程序时,从提高性能角度考虑,应创建______类的对象,并调用其Open方法连接到数据库。(3分)
A. Connection
B. SqlConnection
C. OleDbConnection
D. OdbcConnection
要对注册表进行操作则必须包含()。(2分)
A. System.ComponentModel命名空间;
B. System.Collections命名空间;
C. System.Threading命名空间;
D. Microsoft.Win32命名空间;
为了确定是否为类MyClass附加了属性NameAttribute,应使用以下哪个语句?(2分)
A. bool b = typeof(MyClass).IsDefined(typeof(NameAttribute),false);
B. bool b = typeof(MyClass).IsDefined(typeof(Name),false);
C. bool b = typeof(MyClass).HasDefined(typeof(NameAttribute),false);
D. bool b = typeof(MyClass).HasDefined(typeof(Name),false);