In a Web of your application, your allow users to select a product and its
quantity. When the user has made her selection, you want to transfer the user to another
page named ShoopingCart.aspx with the ProductId and the Quantity as the query string
parameters to the ASPX page. You want to write minimum code to accomplish this
objective. Which of the following options should you select?
A -
The Response.Redirect() mehtod
B -
The Server.Transfer() method
C -
The Server.Execute() method
D -
A HyperLink control
2-
In application contain a theme named Mytheme. To apply theme for all pages in
an application, what should you do? (Choose the best answer)
A -
Specify the <@ pages theme="Mytheme"/> in every page
B -
All of the others
C -
Specify the <@ Master theme=" Mytheme"/> in masterpage
D -
Specify the <@pages theme="Mytheme"/> section in Web.config
3-
In the ConnectionString property for a SQL Server database, you typically
specify all but one the following values. Which one is it?
A -
The name of the server
B -
Whether connection is secure
C -
The name of the table
D -
The name of the database
4-
In the Design view in Visual Studio 2005 of an ASP.NET web page, what is the
easiest way to create an event handler for the default event of a ASP.NET server control?
A -
Drag event handler from the ToolBox to the desired control.
B -
Right-click the control and select Create Handler
C -
Double-click the control
D -
Open the code-behind page and write the code
5-
In your ASP.NET web application you want to display a list os clients on a Web
page. The client list displays 10 clients at a time, and you require the ability to edt the
clients.
Which Web control is the best choice for this scenario?
A -
The GridView control
B -
The FormView control
C -
The DetailsView control
D -
The Table control
6-
____ is a powerful feature of ADO.NET.
A -
The ability to read an XML document
B -
The ability to write an XML document
C -
All of the others
D -
The ability to convert data stored in a data source to XML and vice versa
7-
Please read the following Web page (file name: "request.aspx").