| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is view state | | 4 |
| 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 |
| I have developed a web application in asp.net 2.0 with
Access as back end i am trying to gereate report/export
data in excel. After hosting the site i am not getting any
error or such exported excel file. but using the source
code from my system it works fine.
Could any one tell me why it is happening and what is its
solution. | | 2 |
| How to limit table cell size with long strings? | IBS | 1 |
| 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 |
| Briefly describe different techniques for ASP.NET State
Management? | Syntax-Softtech | 2 |
| What does the "EnableViewState" property do? Why would I
want it on or off? | | 3 |
| How do you register a .NET assembly? | Microsoft | 3 |
| How do you get records number from 5 to 15 from a dataset of
100 records? | Syntax-Softtech | 1 |
| What is Assert Method ? | | 2 |
| what is diff between responseexpires and expiresabsolute | Accenture | 2 |
| Types of objects in ASP ? | Microsoft | 2 |
| what do machine key element in configuration file specify? | TCS | 1 |
| How does the browser enable AutoPostBack functionality?
| | 1 |
| What is CTS, CLS and CLR ? | TCS | 4 |
| Asp.net and asp ? differences? | | 2 |
| can we call webservice in Html form? | Microsoft | 1 |
| what is the requirement that .Net web services can access the
java application?
| iSoft | 6 |
| Features in ASP.NET ? | Microsoft | 1 |
| How many Directives r in ASP.NET? | | 4 |
| |
| For more ASP.NET Interview Questions Click Here |