| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Security types in ASP/ASP.NET? Different Authentication modes? | | 3 |
| Is string a value type or a reference type? | | 9 |
| What is dataset and uses of dataset ? | TCS | 4 |
| WHT IS DIFFERENCES BETWEEN HTML CONTROLS AND SERVER CONTROLS. | HCL | 9 |
| How do you add a javascript function for a link button in a
datagrid ? | Microsoft | 4 |
| when using personlization, how do you access over setting at
runtime? | | 1 |
| After building the custom control, you test it by adding an
ASP.Net web application to the solution. You add a correct
<%@ Register %> directive and a proper declaration of the
control in the <asp:Form> tag to the Web Form, but when you
execute the application you get an error. What is the most
likely reason for the problem?
a) The custom control must be compiled first.
b) The web application must have a reference to the control
c) The custom control must be registered with windows first.
d) The assembly from the custom control is not in the
application?s bin directory.
| Syntax-Softtech | 1 |
| What is web application virtual directory ? | Satyam | 1 |
| can u create two Primary key for a table?
--Sivaa | BirlaSoft | 8 |
| How do we get only edited/deleted/inserted records from a
Dataset? | Syntax-Softtech | 1 |
| what is satellite assembly in .net? | | 4 |
| after which page life cycle event all properties of control
will be "fully loaded " | FactorH | 9 |
| When would you not use the oleDbConnection object?
a) To connect to an SQL 7.0 database.
b) To connect to a DB/2 database.
c) To connect to an Access database.
d) To connect to an SQL 6.5 database.
| Syntax-Softtech | 5 |
| Where does the Web page belong in the .NET Framework class
hierarchy? | Visual-Soft | 1 |
| What is difference between masterpage and user control, what
is the objective of master page when we had user control in
.NET 1.1 version | DELL | 3 |
| Why Global.asax is used? | Perot-Systems | 6 |
| Can two web application share a session and application
variable ? | Satyam | 4 |
| What is the difference between session state and session
variables ? | Digital-GlobalSoft | 4 |
| What is FullTrust? Do GACed assemblies have FullTrust? | | 2 |
| 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 |
| |
| For more ASP.NET Interview Questions Click Here |