| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is pre-init event in ASP.NET 2.0 page life cycle? | Fulcrum-Logic | 1 |
| 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.
| Syntax-Softtech | 2 |
| Suppose i create one application in vs 2008 and it is
running in the latest version of IE,will it run in netscape
and other browsers with low version? | Wipro | 1 |
| How can you provide an alternating color scheme in a
Repeater control? | | 1 |
| what is purpose of xml control in standard controls of
asp.net | | 1 |
| what is caching,session? when & what is used mostly in
which situtations, how they r implemented in real time?
tell with example? | Satyam | 1 |
| You are creating a Web site for Your company. You receive
product lists in the form of XML documents. You are creating
a procedure to extract information from these XML documents
according to criteria that your users will select.
When a user makes a request, you want the results of these
requests to be returned as quickly as possible.
What should you do?
A . Create an XmlDataDocument object and load it with the
XML dat Use the DataSet property of the object to create a
DataSet object. Use a SQL SELECT statement to extract the
requested dat
B . Create an XmlDataDocument object and load it with the
XML data. Use the SelectNodes method of the object to
extract the requested data.
C . Create an XPathDocument object and load it with the XML
data. Call the CreateNavigator method to create an
XPathNavigator object. Call the Select method of the
XPathNavigator object to run an XPath query that extracts
the requested data.
D . Create an XmlReader object. Use the Read method of the
object to stream through the XML data and to apply an XPath
expression to extract the requested data.
| Syntax-Softtech | 1 |
| Contrast the use of an abstract base class against an interface? | | 4 |
| What are PDBs? Where must they be located for debugging to work? | | 2 |
| True or False: A Web service can only be written in .NET? | | 2 |
| Should validation (did the user enter a real date) occur
server-side or client-side? Why? | | 2 |
| What is caching? What are the different types of caching? | | 3 |
| wt is repeater control and
wt is datalist control and wt defferences these two?
i want some code in datalist? | | 1 |
| How would you get ASP.NET running in Apache web servers -
why would you even do this? | | 1 |
| Types of caching ? | TCS | 3 |
| We have 2 sites in which one site allows the user with out
asking credentials and second one ask for credentials
through a log page. What might be the configurations
settings for both sites? We can use IIS and web.config
files together. | ADITI | 1 |
| Compare and contrast between inline and code behind - which
one is best? | | 1 |
| What are the different ways you would consider sending data
across pages in ASP (i.e between 1.asp to 2.asp)? | Net-Solution | 1 |
| What is the need of client side and server side validation ? | Keane-India-Ltd | 1 |
| What was the difference between machine.config and
web.config files | Assurgent | 7 |
| |
| For more ASP.NET Interview Questions Click Here |