niusouti.com
更多“如果希望控件内容变换后立即回传表单,需要在空间中添加属性()A、AutoPostBack=″True″B、IsPostBack=″True″C、IsPostBack=″False″D、AutoPostBack=″False″”相关问题
  • 第1题:

    3下面程序段的输出结果为( )。 mblic class Test public static void main(String args[]) { boolean a,b,c; a=(3<5); b=(a==true); System.out.println("a="+a+"b="+b); c=(b=false); System.out.println("b="+b+"c="+c); } }

    A.a=true b=false b=true c=false

    B.a=true b=false b=true c=true

    C.a=true b=true b=true c=false

    D.a=false b=false b=true c=false


    正确答案:C

  • 第2题:

    为使标题栏上的这两个按钮消失,而保留其他按钮,没置窗体属性时,正确的是

    A.ControlBox=True、MaxButton=False、MinButton=True

    B.ControlBox=False、MaxButton=True、MinButton=True

    C.ControlBox=True、MaxButton=False、MinButton=False

    D.ControlBox=False、MaxButton=False、MinButton=False


    正确答案:C
    解析:ControlBox、MaxBuRon和MinButton属性都影响窗体标题栏上的按钮,其中ControlBox为False,则标题栏上的所有按钮消失,这显然与题意不符,所以选项B和D肯定是错误的。MaxButton和MinButton属性分别决定最大化按钮和最小化按钮是否显示,只有当二者都为False时,这两个按钮才都不显示。

  • 第3题:

    IspostBack的作用,当其值为TRUE或FALSE时的作用;


    正确答案:
     

  • 第4题:

    下面程序段的输出结果为( )。 public class Test { public static void main(String args[]) { booleana,b,C; a=(3<5): b=(a= =true); System.out.println("a="+a+"b="+b); c=(b= =false); System.out.println("b="+b+"c="+c); } }

    A.a=true b=false b=true c=true

    B.a=true b=false b=true c=false

    C.a=false b=true b=true c=false

    D.a=false b=false b=true c=false


    正确答案:C
    C。【解析】本题考查关系运算符<和==。题目中a=(3<5);比较3和5的大小,因为3<5,返回true给a;b=(a==true);判断a是否为真,因为a确实为真,返回true给b;c=(b==false);判断b是否为假,因为b不为假,返回false给e。最后结果a=true,b=true,b=true,e=false,选项C正确。

  • 第5题:

    关于a or b的描述错误的是( )。

    A.若a=True b=True 则 a or b ==True

    B.若a=True b=False 则 a or b ==True

    C.若a=True b=True 则 a or b ==False

    D.若a=False b=False 则 a or b ==False


    正确答案:C

  • 第6题:

    关于AutoPostBack属性,下列说法错误的是()

    • A、Button控件的属性列表里可以找到AutoPostBack属性
    • B、TextBox控件的属性列表里可以找到AutoPostBack属性
    • C、这个属性表示是否能自动回发信息给服务器
    • D、可以设置为true和false

    正确答案:A

  • 第7题:

    如果指针指向第1条记录,则rs.bof和rs.eof的值分别为()

    • A、True、False
    • B、False、True
    • C、True、True
    • D、False、False

    正确答案:A

  • 第8题:

    控件TextBox的AutoPostBack属性的作用是()


    正确答案:是否响应服务器时间,值为true/false

  • 第9题:

    You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. Certkiller .com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control. What should you do?()

    • A、 Set the AutoPostBack property to True and the CausesValidation property to False.
    • B、 Set the AutoPostBack property to False and the CausesValidation property to True.
    • C、 Set the AutoPostBack property to True and the CausesValidation property to True.
    • D、 Set the AutoPostBack property to False and the CausesValidation property to False.

    正确答案:A

  • 第10题:

    单选题
    You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. Certkiller .com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control. What should you do?()
    A

     Set the AutoPostBack property to True and the CausesValidation property to False.

    B

     Set the AutoPostBack property to False and the CausesValidation property to True.

    C

     Set the AutoPostBack property to True and the CausesValidation property to True.

    D

     Set the AutoPostBack property to False and the CausesValidation property to False.


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    控件的AutoPostBack属性用于设置其事件()。
    A

    是否立即回传

    B

    是否需要回传

    C

    是否需要响应

    D

    是否立即响应


    正确答案: A
    解析: 暂无解析

  • 第12题:

    填空题
    控件TextBox的AutoPostBack属性的作用是()

    正确答案: 是否响应服务器时间,值为true/false
    解析: 暂无解析

  • 第13题:

    下面程序段的输出结果为( )。

    A.a=true b=false b=true C=true

    B.a=true b=false b=true e=false

    C.a=true b=true b=true C=false

    D.a=false b=false b=true C=false


    正确答案:C
    本题考查关系运算符<和==。题目中a=(3<5);比较3和5的大小,因为,3<5,返回true给a;b=(a==true);判断a是否为真,因为a确实为真,返回true给b;c=(b==false);判断h是否为假,因为b不为假,返回false给c。最后结果a=true,b=true,b=true,C=false,选项C正确。

  • 第14题:

    下面程序段的输出结果为 public class Test { public static void main(String args[]) { boolean a,b,c; a=(3<5); b=(a==true); System.out.println(”a=”+a+”b=+b) ; c=(b==false); System.out.printhln(”b=”+b+”c=”+c) ; } }

    A.a=true b=false b=true c=false

    B.a=true b=false b=true c=true

    C.a=true b=true b=tree c=false

    D.a=false b=false b=tree c=false


    正确答案:C
    解析:本题考查关系运算符<和=。题目中a=(3<5);比较3和5的大小,因为3<5,返回true给a:b=(a==true);判断a是否为真,因为a确实为真,返回true给b;c =(b==false);判断b是否为假,因为b不为假,返回false给c。最后结果a=true,b=tree, b==true,c=false,选项C正确。

  • 第15题:

    下面程序段的输出结果为 public class Test { public static void main(String args[]) { boolean a,b,c; a=(3<5); b=(a==true); System.out.printin( "a="+a+"b="+b) ; c-(b==false); System.out.println(b="+b+"e="+c) ; } }

    A.a=true b=false b=true c=false

    B.a=true b=false b=true c=true

    C.a=true b=true b=true c=false

    D.a=false b=false b=true c=false


    正确答案:C
    解析:本题考查关系运算符和==。题目中a=(35);比较3和5的大小,因为35,返回true给a:b=(a==true);判断a是否为真,因为a确实为真,返回true给b;c=(b==false);判断b是否为假,因为b不为假,返回false给c。最后结果a=true,b==true,b=true,c=false,选项C正确。

  • 第16题:

    下列选项中,哪个是程序的运行结果class Test{public static void main(String[] args) {int a = 3;int b = 6;System.out.print(a==b);System.out.print(aSystem.out.print(a!=b);System.out.print(a>=b);}}

    A.false false true false

    B.false false true true

    C.false true true false

    D.true false false true


    答案:C
    解析:3==6(错),3<6(对),3!=6(对),3>=6(错)

  • 第17题:

    以下3个表达式的结果分别是?() 0===’0’ ’0’==false 1===true

    • A、false,true,false
    • B、true,true,false
    • C、false,false,true
    • D、true,true,true

    正确答案:A

  • 第18题:

    如果一个记录集为空,那么Bof、Eof属性的值分别是()。

    • A、True、False
    • B、False、True
    • C、True、True
    • D、False、False

    正确答案:C

  • 第19题:

    如果使文本框内容改变时自动触发事件并传回数据到服务器,则应该设置下列哪个属性()

    • A、AutoPostBack=true
    • B、AutoPostBack=false
    • C、IsPostBack=true
    • D、IsPostBack=false

    正确答案:A

  • 第20题:

    A为True,B为False,则"AandB"和"AOrB"的值分别是()

    • A、True,True
    • B、True,False
    • C、False,True
    • D、False,False

    正确答案:C

  • 第21题:

    单选题
    如果希望控件内容变化后立即向服务器提交请求,需要在控件中添加属性()。
    A

    AutoPostBack=true

    B

    AutoPostBack=false

    C

    IsPostBack=true

    D

    IsPostBack=false


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    如果希望控件内容变换后立即回传表单,需要在空间中添加属性()
    A

    AutoPostBack=″True″

    B

    IsPostBack=″True″

    C

    IsPostBack=″False″

    D

    AutoPostBack=″False″


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    关于AutoPostBack属性,下列说法错误的是()
    A

    Button控件的属性列表里可以找到AutoPostBack属性

    B

    TextBox控件的属性列表里可以找到AutoPostBack属性

    C

    这个属性表示是否能自动回发信息给服务器

    D

    可以设置为true和false


    正确答案: B
    解析: 暂无解析