| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the use of web.config? Difference between
machine.config and Web.config? | | 3 |
| How to check null values in dataset ? | Digital-GlobalSoft | 2 |
| Interface have Default Modifier Is 'Public'.Where We Will
Use The KeyWord In Interface? | Phoenix-Technologies | 3 |
| 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 does the following SQL statement return, assuming that
all tables and column names are correct?
SELECT FirstName, StreetAddress
FROM Employees
JOIN AddressBook
ON Employees.EmpID = AddressBook.EmpID
a) Nothing, the JOIN syntax is wrong.
b) All the records form the Employees table, and only the
matching ones form the StreetAddress table.
c) All the records from the StreetAddress table and only the
matching records form the Employees table.
d) Only the matching records from the two tables.
| Syntax-Softtech | 3 |
| To call a Web service SOAP which transport protocol you
use? | | 2 |
| With out Web.config can we executes the application? | | 4 |
| if you disable view state of a textbox will it maintain
data during postbacks.if yes reason | FactorH | 6 |
| Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines? | | 1 |
| What layout mode is the default when a new Web Form is created?
a) GridBagLayout
b) GridLayout
c) FlowLayout
d) FormLayout
| Syntax-Softtech | 2 |
| Explain what a diffgram is, and a good use for one?
| | 1 |
| 2. Why did you choose this career?
| Swatz-Oils | 1 |
| I need to download file from web server, without using save
as dialogue box. Can anyone help, thanks In advance. | | 1 |
| How you will handle session when deploying application in
more than a server? Describe session handling in a webfarm,
how does it work and what are the limits? | CoreObjects | 2 |
| If we add a textbox and give the required field
validator,and i add two radio buttons 1 is yes another one
is No.And i add another one server control button ,if i
click the button ,if the radio button Yes is checked the
validation control is fired ,if no the validation control
is not fired.So what you used to solve this problem. | CTS | 6 |
| Usage of web.config? | Microsoft | 1 |
| What is boxing and how it is done internally? | Microsoft | 1 |
| please give a brief knowledge about these events ?
page_render()
page_prerender()
page_unload
page_loadcomplete
page_preinit
| Netsweeper | 1 |
| What data types do the RangeValidator control support? | | 2 |
| Why Web Services? | | 1 |
| |
| For more ASP.NET Interview Questions Click Here |