What is a transaction?
a) A banking term.
b) A concept used to describe a step in the business process.
c) A combination of DML steps that must succeed or the data
is retuned to its initial state.
d) A combination of DDL steps that must succeed or the data
is retuned to its initial state.
What does the following SQL statement return, assuming that
all tables and column names are correct?
SELECT FirstName, StreetAddress
FROM Employees
JOIN AddressBook
ON Employees.EmpID = AddressBook.EmpID
a) Nothing, the JOIN syntax is wrong.
b) All the records form the Employees table, and only the
matching ones form the StreetAddress table.
c) All the records from the StreetAddress table and only the
matching records form the Employees table.
d) Only the matching records from the two tables.
How do you enable tracing?
a) Set the Trace property of the Web Form to True
b) Set the Trace property of the server object to True
c) Set the Session variables Trace to True
d) Set the Applications Variable Trace to True.
What method must be overridden in a custom control?
a) The Paint() method
b) The Control_Build() method
c) The Render() method
d) The default constructor
After building the custom control, you test it by adding an
ASP.Net web application to the solution. You add a correct
<%@ Register %> directive and a proper declaration of the
control in the <asp:Form> tag to the Web Form, but when you
execute the application you get an error. What is the most
likely reason for the problem?
a) The custom control must be compiled first.
b) The web application must have a reference to the control
c) The custom control must be registered with windows first.
d) The assembly from the custom control is not in the
application?s bin directory.
What is the result when the Web Form containing the
following line is complied and executed?
<asp:Button id=?thebutton? onClick=?theEvent? />
a) The button control is created; theEvent is the click
event handler.
b) Compiler error; the control must be set to runat=?server?.
c) Compiler error; onClick is not a valid attribute.
d) Runtime Exception; the control must be set to runat=?server?.
After capturing the SelectIndexChanged event for a ListBox
Control, you find that the event handler doesn?t execute.
What could be the problem be?
a) The AutoEventWireup attribute is set to False
b) The AutomaticPostBack attribute is set to False
c) The codebehind module is not properly compiled
d) The ListBox must be defined WithEvents.
What is the Web.config file used for?
a) To store the global information and variable definition
for the application.
b) Configures the time that the server-side codebehind
module is called
c) To Configure the Web Server.
d) To Configure the Web browser.
Given an ASP.NET Web Form called WebFrom1, what class does
the WebForm1 class inherit from by default?
a) System.Web.Form
b) System.Web.GUI.Page
c) System.Web.UI.Page
d) System.Web.UI.Form
What is the function of the CustomValidator?
a) It allows for custom C# client-side code to validate
entries in a control.
b) It allows for a custom mixture of validator controls to
use one central control for the display of messages.
c) It uses scripted client-side code to validate the entry
in a control.
d) It uses server-side code to validate the entry in a control.
When an ASP.NET server control is added to a web form,
Visual Studio .NET adds one item to the class for the form.
What item is added?
a) The event registration.
b) A protected class member for the control.
c) A default event handler for the click event.
d) A default class that inherits from the control?s base class.
When working with ASP.Net server controls, it is important
to use the right event handlers to capture the event for the
application to function properly. What event would you use
to capture the selection of a new item in a DropDownList
control?
a) The Click event.
b) The SelectionChanged event.
c) The SelectionIndexChanged event.
d) The ChangedSelection event.
What is the purpose of the following segment?
If ( !IsPostBack)
{
sqldataAdapter1.Fill (dsusers1);
DataGrid1.DataBind ();
}
a) To populate the DataAdapter the first time the web page
id displayed.
b) To populate the DataSet every time the web page is displayed.
c) To populate the DataAdapter every time the web page is
displayed.
d)To populate the DataSet the first time the web page is
displayed.
what is mean by COM (component object model) and component
based software development?
Is it .NET is first COM based technology?
Please answer me.
Advance thanks.
if i wanna deploy my asp.net project to the production
server and situation is that i m still not compiled my
project i have as-is on my development side now on
production server we dont have a visual studio now what
kind of settings i need to be to do in
webconfig /machine.config file to deploy my project and in
iis too....
In a single process non of user's are accessing Web site when
i checked the logs it showing event ID "530" ? need the
solutions and also Mail me all the event id's related to
IIS...