| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the use of mcommand ?
mcommand.fill(ds,"orderdetails"); | Netsweeper | 1 |
| Difference between application and session ? | Satyam | 5 |
| How to write unmanaged code and how to identify whether the
code is managed / unmanaged ? | Accenture | 1 |
| I am using ASP.Net 2.0. I added the following code in
button_Click page. but 'PreviousPage' is not taking as a
keyword. It throughs an error.
Page Poster = this.PreviousPage;
TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest");
sDisplay = txtNewTest.Text;
Response.Write(sDisplay);
The following is the Error Message:
'controls_LoginMain' does not contain a definition
for 'PreviousPage' | | 2 |
| I have to send data throug querystring from one page to
another. But it should not be displayed in URL. How it is
possible? | EMR | 5 |
| WHAT ARE DEFFERENCE BETWEEN DATALIST AND DATAGRID | Seion-Infotech | 1 |
| How .Net has implemented security for web applications? | | 1 |
| What does setting a control's EnableViewState property to
false accomplish?
| | 1 |
| Which two properties are there on every validation control? | | 2 |
| what is managed and unmanaged code? | Microsoft | 3 |
| What is difference between ASP and ASP.NET ? | TCS | 3 |
| How to kill session? | Protech | 11 |
| How to manage pagination in a page? | | 2 |
| Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx.
All pages are in diff. server. When user req. for a page,
Page1.aspx opens Ist & a session established. If user req.
for IIn page, second session established. Similarly, 3rd
session established if user req. 3rd page. In this scenario,
tot. 03 sessions are established. How we can minimize it so
that it will work with only one session? | Wipro | 2 |
| What?s the difference between Codebehind="MyCode.aspx.cs"
and Src="MyCode.aspx.cs"? | Visual-Soft | 1 |
| Explain what a diffgram is and a good use for one? | Syntax-Softtech | 1 |
| what is impersonation in ASP.NET? | Merrill-Lynch | 4 |
| 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 | 4 |
| About Garbage Collector? | Microsoft | 3 |
| Features in ASP.NET? | Microsoft | 2 |
| |
| For more ASP.NET Interview Questions Click Here |