| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| About writting a query and SP which is better ? | Satyam | 2 |
| Can i have both C# and vb.net code in same assembly?how? | Wipro | 4 |
| i want to develope a page for online test using asp.net
with c#.net. so, how to insert the questions in the
database sqlserver2000 and how to pick the questions
randomly when user login for test. plz send the code for
this.... | TCS | 3 |
| How can you change a Master page dynamically in which event
of page life cycle? | Fulcrum-Logic | 2 |
| How many rules are there regarding a well formed XML document?
a) Nine
b) Three
c) Six
d) Two
| Syntax-Softtech | 1 |
| How many rounds are there for a software programmer to
clear interview in any IT industries(MNC). | HCL | 2 |
| What are PDBs? Where must they be located for debugging to work? | | 2 |
| How do you do validations. Whether client-side or
server-side validations are better ? | Microsoft | 2 |
| You are using the try? catch block seen in the following
code segment, but no exceptions are ever caught by the catch
block. What is the problem?
SqlConnection cn =new sqlConnection(strSQL);
SqlDataSet ds;
try
{
cn.open(); //perform the data processing steps
??..
} catch (OleDbException e) {
?..
}
a) The exception class is wrong; it should be sqlErrors.
b) The exception class is wrong; it should be
sqlSyntaxExceptios.
c) The exception class is wrong; it should be sqlExceptions.
d) The exception class is wrong; it should be sqlExcptions.
| Syntax-Softtech | 2 |
| Which template must you provide, in order to display data
in a Repeater control?
| | 3 |
| How to write unmanaged code and how to identify whether the
code is managed / unmanaged ? | Accenture | 1 |
| What is the Global.asax used for?
| | 3 |
| Types of values mode can hold session state in web.config ? | Accenture | 1 |
| Write a code for "RequiredFieldValidator" in java script | Wipro | 3 |
| You need to retrieve data from a Microsoft SQL Server 2000.
Currently you are using an oleDbConnection object to connect
to the database server. You need to be able to retrieve the
data from the database server in XML format. Which approach
would be the most efficient? Select all that apply. Each
answer constitutes part of the whole answer.
a) Change to the SQL .NET provider.
b) Use the ExecuteXmlReader() method of the xxxCommand object
c) Use the DOM to create the XML document.
d) Use the XmlDocument.Load() method to create the XML Document.
| Syntax-Softtech | 1 |
| Explain what a diffgram is and a good use for one? | Syntax-Softtech | 1 |
| Rate yourself in .net and sql database? | Satyam | 1 |
| what is diffrence between debug class and trace class in
asp.net ? | | 2 |
| What is SQL injection? | | 1 |
| Describe the role of inetinfo.exe, aspnet_isapi.dll and
aspnet_wp.exe in the page loading process | Visual-Soft | 1 |
| |
| For more ASP.NET Interview Questions Click Here |