Which statement best describes the operation of the following code?
Dim Students As AortedList
If Session ( "Students" ) Is Nothing Then
Session (" Student ") = Students
End If
A -
If the session state object named Students doesnt exist, it creates onw that contains the Students sorted list
B -
If the session state item named Students doesnt exist, it creares one that contains the Students sorted list
C -
If the session state item named Students is empty, it populates it with the Students sorted list
D -
If the session state object named Students is empty, it populates it with the Students sorted list
2-
Which statement retrieves the value of the cookie named Password?
Which statement best describes the operation of the following code?
If Not IsPostBack Then Dd1Products . DataBind( )
End IfEnd
A -
If the page is being requested for the first time, bind a drop-down list to a data source
B -
If the page isnt being requested for the first time, bind a drop-down list to a drop- down list
C -
If the page isnt being requested for the first time, bind a drop-down list to a data source
D -
If the page is being requested for the first time, bind a data source to a drop-down list
4-
Which of the statement best describes the operation of the following code?
Dim dvTable As DataView = Ctype (AccessDataSource1.Select ( _
DataSourceSelectArguments.Empty), DataView)
dvTable.RowFilter = "ProductID = " & ddlProducts.SelectedValue & " "
Dim drvRow As DataRowView=dvTable(0)
A -
The data for a single row is filtered from a data source based on the value selected from a drop-down list, and the row is stored in a DataRowView object named drvRow.
B -
The data for the first column in a row that has been filtered from a data source is stored in a DataRowView object named drvRow
C -
The data for the first non-empty row in result table is extracted from a data source and stored in a DataRowView object named drvRow
D -
The data for the first column in a row that has been filtered from a data
5-
Which tag allows you to specify a cell in a table?
A -
<cell></cell>
B -
<tr></tr>
C -
<tc></tc>
D -
<td></td>
6-
Which tag creates a hyperlink in HTML?
A -
<link>
B -
<a>
C -
<href>
D -
<alt>
7-
Which XML technollogy enables structure to be built into an XML document?
A -
XQuery
B -
XForms
C -
XPath
D -
XSchema
8-
Which testing your ASP.NET web application you noticed that while clicking
on CheckBox of one of the web page it does not cause a PostBack; you required that the
CheckBox should make PostBack so Web page can be update on the server-side code.
How can you make the CheckBox to cause a PostBack?
A -
Set the AutoBack property to true
B -
Set PostBackAll property of the Web page to true
C -
Add server-side code to listen for the click event from the client
D -
Add JavaScript code to call the ForcePostBack method
9-
While writing code in Visual Studio 2005 you creates a new instance of a
ASP.NET TextBox server control, what do you need to do to get the TextBox to display
on the Web page?
A -
Set the VisibleControl to true on the TextBox
B -
Call the ShowControl method on the TextBox
C -
Add the TextBox instance to the form1.Controls collection
D -
Execute the AddControl method on the Web page
10-
While creating your ASP.NET web based application you want to create
multiple RadioButton server controls which should be mutually exclusive, what property
of RadioButton server controls you must set?