北京理工大学计算机科学与技术专业《ASP.NET开发技术》作业及答案1
A.SiteMapDataSource
B.XmlDataSource
C.SqlDataSource
D.LinqDataSource
A
A.Response.Cookies["userName"]="apple"
B.Cookies["userName"]="apple"
C.Cookies["userName"].Value="apple"
D.Response.Cookies["userName"].Value="apple"
D
A.可以免费获取
B.适合于中小型企业的开发应用
C.在安装Visual Studio 2008时,与ASP.NET 3.5一同安装
D.与SQL Server 2005系列中的其他版本相比,对系统配置的要求相对比较高
D
A.Page_Load,Page_Init,Change,Click,Page_Unload
B.Page_Load,Page_Init,Click,Change,Page_Unload
C.Page_Init,Page_Load,Change,Click,Page_Unload
D.Page_Init,Page_Load,Click,Change,Page_Unload
C
A.Application为所有的用户服务
B.在网站停止运行后仍存在
C.Application可以用于统计网站的在线人数
D.当要修改Application状态值时,首先要加锁,值修改后再解锁
B
A.ImageButton
B.ImageMap
C.Image
D.LinkButton属性
C
A.C#,XML,HTML
B.XML,HTML,JavaScript
C.C#,XML,JavaScript
D.C#,HTML,JavaScript
C
A.Web.sitemap
B.Web.site
C.Web.map
D.Web.config
A
A.DataSourceID,DataBind()
B.DataSource,DataBind()
C.DataBind,DataSource()
D.DataBind,DataSourceID()
B
A.结构类型
B.枚举类型
C.布尔类型
D.数组类型
D
A.link
B.script
C.style
D.meta
C
A.全局主题存储于Web应用程序的App_Themes文件夹中
B.App_Themes文件夹中的每个子文件夹对应一个应用程序主题
C.对网站应用了某个主题后,网站中的某个或某些网页仍可以应用其它主题
D.可以通过程序实现网站主题的动态切换
A
A.db.showCategory()
B.db.showCategory
C.db.procedure.showCategory()
D.db.procedure.showCategory
A
A.ContentPlaceHolder
B.PlaceContent
C.ContentHolder
D.PlaceContentHolder
A
A.Write()
B.Redirect()
C.Cookie()
D.Clear()
C
A.外观文件主要为ASP.NET中的服务器控件提供一致的外观
B.一个主题必须包含外观文件
C.控件外观定义中必须定义SkinId
D.同一个主题中每个控件类型只允许有一个默认的控件外观
A.RegularExpressionValidator
B.RangeValidator
C.RequiredFieldValidator和RegularExpressionValidator
D.RequiredFieldValidator和RangeValidator
A.不能采用代码隐藏页模型
B.能采用代码隐藏页模型,其代码隐藏文件的扩展名为aspx.cs
C.能采用代码隐藏页模型,其代码隐藏文件的扩展名为ascx.cs
D.能采用代码隐藏页模型,其代码隐藏文件的扩展名为asax.cs
A.公共数据存储过程可以被多个Web应用程序调用
B.存储过程被解释执行
C.一个存储过程可以执行上百条SQL语句
D.存储过程或数据库结构的更改不会影响Web应用程序
A.RegularExpressionValidator
B.RangeValidator
C.RequiredFieldValidator和RegularExpressionValidator
D.RequiredFieldValidator和RangeValidator
A.RegularExpressionValidator
B.RangeValidator
C.RequiredFieldValidator
D.CompareValidator
A.Response.Redirect("second.aspx?un=userName")
B.Response.Redirect("second.aspx&un=userName")
C.Response.Redirect("second.aspx&un="userName)
D.Response.Redirect("second.aspx?un="userName)
A.UserControl,@Control
B.Control,@UserControl
C.Control,@Control
D.UserControl,@UserControl
A.DriveInfo类
B.Directory和DirectoryInfo类
C.File和FileInfo类
D.Stream类和Reader/Writer类
A.主目录及其子目录中的网页可被登入Web站点的使用者浏览
B.IIS的默认文档必须是default.htm或default.aspx
C.一个Web服务器上可以安装多个版本的.NET Framework
D.在IIS中删除了某个虚拟目录时,不会删除其相应的物理目录
A.http://localhost/studentaspx
B.http://127.0.0.1/studentaspx
C.http://localhost/homework/studentaspx
D.http://127.0.0.1/homework
A.错误
B.正确