设置TextBox的内容时,应改变TextBox的()。A、Text属性B、ForeColor属性C、Font属性D、Name属性
设置TextBox的内容时,应改变TextBox的()。
- A、Text属性
- B、ForeColor属性
- C、Font属性
- D、Name属性
相关考题:
YouaredevelopingaAsp.netwebapplicationthtincludesapanelcontrolthathasIDcontentsection.YouneedtoaddatextBoxcontroltothepanelcontrol.() A.this.RequireControlState(this.LoadControl(typeof(TextBox),null));B.this.ContentSection.control.add(this.FindControl(ContentSection.ID+asp:TextBox));C.this.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));D.this.LoadComplete(asp:TextBox).IntiantiateIn(ContentSection)
"在窗体上放入一个名称为Button1命令按钮和两个名称分别为TextBox1、TextBox2两个文本框,然后编写如下事件过程: 程序运行后,在文本框TextBox1中输入10,然后单击命令按钮,则在TextBox2中显示的内容是()"A10B20C30D40
下面那个代码段正确的增加了一个TextBox控件到一个名为form1的Web窗体上?()A、TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true;B、TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; c.Controls.Add(form1);C、TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; c.Add(form1);D、TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; form1.Controls.Add(c);
You are developing a Asp.net web application tht includes a panel control that has ID contentsection.You need to add a textBox control to the panel control.()A、this.RequireControlState(this.LoadControl(typeof(TextBox),null));B、this.ContentSection.control.add(this.FindControl(ContentSection.ID + "asp:TextBox"));C、this.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));D、this.LoadComplete("asp:TextBox").IntiantiateIn(Content Section)
单选题在VB程序的窗体上,从上到下依次创建Checkbok、Textbox、Listbox、CommandButton这4个控件,则运行该程序显示窗体时,他们之间获得焦点的顺序是()。ACommandButton、Checkbok、Textbox、ListboxBCheckbok、Textbox、Listbox、CommandButtonCCheckbok、Listbox、CommandButton、TextboxDListbox、Checkbok、CommandButton、Textbox
单选题You are developing a Asp.net web application tht includes a panel control that has ID contentsection.You need to add a textBox control to the panel control.()Athis.RequireControlState(this.LoadControl(typeof(TextBox),null));Bthis.ContentSection.control.add(this.FindControl(ContentSection.ID + asp:TextBox));Cthis.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));Dthis.LoadComplete(asp:TextBox).IntiantiateIn(Content Section)
填空题当需要将TextBox控件作为密码输入框时,应设置()