| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Types of session management in ASP.NET ? | 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 |
| what are the sitemap providers in Asp.net 2.0? | | 2 |
| What is Stateless ASP or ASP.Net? | Accenture | 1 |
| How many types are there session | TCS | 5 |
| how to update data set?
| TCS | 3 |
| Hi,
I am a fresher. i have a problem related to DataGrid .
i have a data grid and i have to place a dropdown in the
datagrid.and i have to retrieve the values from the database
(sqlserver).please tell me any idea about the code. | Lambent | 1 |
| What are the two properties that are common in every
validation control? | | 3 |
| What is the Global.asax used for?
| | 3 |
| 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 | 2 |
| How do you a replicate a set of controls across a number of
ASP Pages | | 2 |
| 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
| Syntax-Softtech | 1 |
| Differentiate session and cookie
| | 1 |
| what is the requirement that .Net web services can access the
java application?
| iSoft | 5 |
| 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 |
| what is the jit? what is the type of jit and purpose of it> | | 2 |
| Name two properties common in every validation control?
| | 1 |
| Is string a value type or a reference type? | | 7 |
| what is view state | | 4 |
| What is the namespace used to store the information about
the user?s locale? | | 1 |
| |
| For more ASP.NET Interview Questions Click Here |