ASPX网页的基类是()
ASPX网页的基类是()
相关考题:
下面关于web窗体的代码隐藏页模型的说法错误的是( )。 A、显示界面的代码包含于aspx文件中B、逻辑处理代码包含于aspx.cs文件中C、代码隐藏类使用partial关键字声明D、代码隐藏类使用sealed关键字声明
你如何重定向一个指定页面到桌面计算机或移动设备?() A.if (Request.Browser[IsMobileDevice] == true) Response.Redirect(MobileDefault.aspx); else Response.Redirect(DesktopDefault.aspx); end ifB.if (Request.Cookies.IsMobileDevice) Response.Redirect(MobileDefault.aspx); else Response.Redirect(DesktopDefault.aspx); end ifC.if (Request.Browser.IsMobileDevice) Response.Redirect(MobileDefault.aspx); else Response.Redirect(DesktopDefault.aspx); end ifD.if (Request.Cookies[IsMobileDevice] == true) Response.Redirect(MobileDefault.aspx); else Response.Redirect(DesktopDefault.aspx); end if
下面的网页程序 Login.aspx 用于网站的登录验证, 当用户击点登录按钮时,执行下列代码。下述代码将连接位于 文件夹下的PSWeb.mdb 数据库,从 Login 表中查询指定的用户名和密码是否存在。如果用户输入的用户名或密码不正确,给出相应的提示;如果正确,则转向 Main.aspx网页。请将下列程序补充完整。
YouareemployedasanetworkadministratoratCertkiller.com.YouareintheprocessofcreatinganASP.NETapplicationusing.NETFrameworkv3.5.ThenewlycreatedapplicationcontainstwoWebpages.TheWebpagesisnamedOrderDetails.aspxandOrderError.htm.YoudiscoverthatastacktraceisdisplayedtoremoteusersassoonastheapplicationthrowsunhandlederrorsinOrderDetails.aspx.ManagementwantsyoutomakesurethatunhandlederrorfortheOrderError.htmWebpageisonlydisplayedinOrderDetails.aspx.Whatshouldyoudo?()
Certkiller .com‘s e-Commerce Web application contains a page named Products.aspx that uses data source and data-bound server controls. Customers use the server controls to search for products. The Products.aspx page does not have an associated code-behind file. You need to convert the Products.aspx page to a user control so that its functionality can be reused on other pages.What should you do?()A.Move the Products.aspx page to the App_Code folder.B.Create a code-behind file for the Products.aspx page.C.Rename the Products.aspx page to Products.ascx..D.Remove all server controls from the Products.aspx page.E.Replace the Page directive with a Control directive.
如果要实现点击某HyperLink控件来打开页面hello.aspx,应使用的属性设置为()A、NavigateUrl=“hello.aspx”B、Target=“hello.aspx”C、Text=“hello.aspx”D、Value=“hello.aspx”
下列关于基类的说法不正确的是()A、VisualFoxPro提供的基础类即是基类B、VisualFoxPro基类被存放在指定的类库中C、VisualFoxPro基类是系统本身内含的D、可以基于类生成所需要的对象,也可以扩展基类创建自己的类
你如何重定向一个指定页面到桌面计算机或移动设备?()A、if (Request.Browser["IsMobileDevice"] == "true") Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end ifB、if (Request.Cookies.IsMobileDevice) Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end ifC、if (Request.Browser.IsMobileDevice) Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end ifD、if (Request.Cookies["IsMobileDevice"] == "true") Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end if
Certkiller .com's e-Commerce Web application contains a page named Products.aspx that uses data source and data-bound server controls. Customers use the server controls to search for products. The Products.aspx page does not have an associated code-behind file. You need to convert the Products.aspx page to a user control so that its functionality can be reused on other pages. What should you do?()A、Move the Products.aspx page to the App_Code folder.B、Create a code-behind file for the Products.aspx page.C、Rename the Products.aspx page to Products.ascx..D、Remove all server controls from the Products.aspx page.E、Replace the Page directive with a Control directive.
填空题要获取网页default.aspx物理路径可以使用()