ASP.NET的几个试题 帮帮忙 谢谢
14. 如图,在一个 ASPX页面中,有四个RadioButton控件,他们的HTML 代码如下,在图示状态下,当用户单击足球RadioButton控件后,下列说法正确的是()
<asp:RadioButton id= “RadioButton1”groupName= “bigBall”runat= “server”
Text= “篮球”> </asp:RadioButton>
<asp:RadioButton id= “RadioButton2”groupName= “bigBall”runat= “server”
Text= “足球”> </asp:RadioButton>
<asp:RadioButton id= “RadioButton3”groupName= “littleBall”runat= “server”
Text= “乒乓球”> </asp:RadioButton>
<asp:RadioButton id= “RadioButton4”groupName= “littleBall”runat= “server”
Text= “羽毛球”> </asp:RadioButton> (选择一项)
() 篮球 ()足球
() 乒乓球 ()羽毛球
a) 篮球RadioButton控件的Checked属性变为False
b) 乒乓球RadioButton控件的Checked属性变为False
c) 羽毛球RadioButton控件的Checked属性变为Ture
d) 篮球RadioButton控件的Checked属性变为Ture
15.在ASP.NET中,有一个ASPX页面的部分代码如下,当用户单击Button1按钮后,下列说法正确的是()。(选择一项)
Public class CityBrower:System.Web.UI.Page{
Protected System. Web.UI.WebControls.Button Button1
String name= “Eduask1.0”;
Private void Pag
相关问答:
哪位大哥有没有ASP.NET中利用Cookies实现用户自动登录的代码...谢谢了...越详细越好....
什么意思?自动登录?
mark 貌视是存储cookies 我也对cook比较迷糊 关注下
既然你知道用cookies自己动动大脑多好! ......
从数据库中查询一张表的数据
select 部门,姓名 from tb
如何才能生成下面的xml格式文件
<folder state="unchecked" label="全部">
<folder state="unchecked" isBra ......
小弟搞ASP.NET也快2年了
但是架构问题一直都是用的别人架构好的
一直想自学架构
有介绍好书的没?
大家一起分享哈
感激不敬啊
sf
先学基本的吧《你必须知道的.NET》
迅雷上可以下的。
你必 ......
protected void btnLogin_Click(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection("Server = (local);user id = sa;pwd = 1;database = Login");
&nb ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......