| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what are the attributes of sitemapnode? | Satyam | 3 |
| If i have 1000 records in dataset, how to do paging? | Mind-Tree | 2 |
| You create an ASP.NET application for a hotel. The
application contains a page that displays current weather
conditions for the city in which the hotel is located. The
application calls an XML Web service every 10 minutes to
update the current weather conditions. A new page is then
displayed for subsequent requests.
You want the same page to be cached and retrieved from the
cache during the time between calls to the XML Web service.
You decide to use a Page directive to accomplish this goal.
Which Page directive should you use?
A . <%@ Cache Seconds="600 '' VaryByParam="Page" %>
B . <%@ OutputCache Time="600" %>
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
D . <%@ OutputCache Duration="600" %>
| Syntax-Softtech | 2 |
| Explain the life cycle of an ASP .NET page | HCL | 2 |
| Name two properties common in every validation control?
| | 1 |
| Rate yourself in .net and sql database? | Satyam | 1 |
| What is the difference between Codebehind="MyCode.aspx.cs"
andSrc="MyCode.aspx.cs"?
| Innvectra | 1 |
| How do you turn off cookies for one page in your site? | IBS | 2 |
| What is mvc structure? given example?
How to show gridview control from business components and
using class object arrays? | | 1 |
| Types of optimization and name a few and how do u do? | Accenture | 1 |
| Can we throw exception from catch block ? | Accenture | 3 |
| Suppose you want a certain ASP.NET function executed on
MouseOver overa certain button. Where do you add an event
handler? | Visual-Soft | 3 |
| How many classes can a single .NET DLL contain?
| | 2 |
| What is the syntax for datagrid and specifying columns ? | Microsoft | 1 |
| Below is a code extract from an ASP.Net application.
The code basically reads data from the “name” field in
the “members” table and prints them onto the webpage.
Using the assumptions provided, fill in the 4 blanks below
so that the code will run correctly.
‘Assumptions:
‘conn_str is a variable that holds the connection string to
the database
‘Objects dbcomm and dbread are already declared earlier
dbcomm = New OleDbCommand("SELECT name FROM members",
conn_str)
dbread = dbcomm._______________
_____________________
response.write(_______________)
_____________________
dbread.Close() | Techno-Solutions | 3 |
| How Web Service help? What is the difference between
Remoting & Web Servcies?
| | 2 |
| Types of optimization and name a few ? | Accenture | 3 |
| How many web.config a application can have ? | Keane-India-Ltd | 5 |
| What is the best way to search any exact information on
google? | Intellevate | 2 |
| Asp.net and asp ? differences? | | 2 |
| |
| For more ASP.NET Interview Questions Click Here |