单项选择题你正在创建一个使用 SqlCommand 对象 cmd 执行一个存储过的的 Web 应用。你需要得到存储过程的返回值并显示在 ResultsTextBox 中,请问,你应该使用下面哪段代码?()

A.
B.
C.
D.


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题下面,哪几个方法可以让你决定一个用户是否在指定的角色中?()

A.Roles.GetAllRoles
B.Membership.GetAllUsers
C.Membership.FindUsersByName
D.Roles.IsUserInRole
E.Roles.GetRolesForUser

3.多项选择题

你正在创建一个处理 XML 文档的应用。其 XML 文档格式如下:
在你的应用中,你已经装入 XML 文档到一个名为 subscriber 的对象中。请问,下面那一个代 码正确的得到 phone 属性的值?()

A.subscriber.DocumentElement.Attributes("phone").Value
B.subscriber.DocumentElement.ChildNodes[2].Value
C.subscriber.FirstChild.Attributes("phone").Value
D.subscriber.GetElementById("phone").Value
E.subscriber.DocumentElement.GetAttributeNode("phone").Value

4.多项选择题Web复制工具可以使用下面那个连接类型能部署ASP.NET Web应用?()

A.FTP
B.SMTP
C.SSH
D.IMAP
E.HTTP
F.Share Folders

5.单项选择题你正在创建一个组合 Web 控件。你应该如何增加子控件?()

A.实现INaming Container接口.
B.重载Create Child Controls方法,并创建子控件。
C.重载Controls属性,并调用Ensure Child Controls方法.
D.增加控件到.ascx文件.

9.单项选择题

参考如下的 Web.Config 文件配置。请问,ASP.NET 会把没有验证的用户重定向到什么页面?()

A.Forms.aspx
B.LoginForm.aspx
C.ASP.NET will not redirect the user. Users will need to click a LoginStatus control to be redirected to the login page.
D.Login.aspx





最新试题

You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config file contains the definition for the membership provider. After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file.? You need to enable users to reset their passwords online. The new passwords must be sent to them by e-mail after they have logged on through the Login.aspx page. In addition, users must be required to answer their secret questions before resetting their passwords.Which code logic should you use?()

题型:单项选择题

You are developing a product search page named Search.aspx for Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. Once a product is located, you want an image of the product to be displayed. You want to use an Image control to display the image. You want to configure the Image control to display a description of the image if the image cannot be displayed in the customer's Web browser.What should you do?()

题型:单项选择题

You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages on the Web site.Which tool should you use?()

题型:单项选择题

You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class.Which form of authentication should you use?()

题型:单项选择题

You are developing a Web application. Your code restricts access to some pages based on the users credentials. You need to configure IIS to supply the user's Windows credentials to your Web application. These credentials must be encrypted.What should you do? ()

题型:单项选择题

You create a Web site that is for members only. The behavior of the Web site changes according to the role of the user. The Web site uses the ASP.NET Membership control for creation of user accounts. You need to find out whether a user is a member of a particular role.What should you do?()

题型:单项选择题

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.Which two actions should you perform?()

题型:多项选择题

You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code.What should you do?()

题型:单项选择题

You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class.Which form of authentication should you use?()

题型:单项选择题

You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages.Which two controls should you add to the EditorZone control?()

题型:多项选择题