Buy Questpond's video subscriptions on
huge discount
.
Online: 7422
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
> ASP.NET
ASP.NET Interview Questions and Answers (1544) - Page 17
Latest and authentic Interview questions. You can also
post an interview question
and
win monthly prizes
as well as gain community
credit points
.
1544 records found.
Post
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Exclusive Questions
Get 650+ Questpond's Interview videos on discount
Loading ...
What is Reference Equality
To determine whether two variables refer to the same underlying object in memory is called Reference Equality.
ObjectReferenceEquals() is used to make this happen.
What is Value Equality
To determine whether two objects contain the same value or values is called Value Equality.
Performing binary operations with Double type can result,...
NOTE: This is objective type question, Please click question title for correct answer.
What is ?? operator ?
?? is called null-coalescing operator. It is used to define default value of nullable types.
You can use ^ operator to perform logical exclusive-or with,
NOTE: This is objective type question, Please click question title for correct answer.
For gridview, data-binding expressions are resolved at,…
NOTE: This is objective type question, Please click question title for correct answer.
How can you cancel update/cancel of gridview ?
The simplest way to do it is,
e.cancel = true;
is there any event "ModeChanged"?
Yes.
The event "ModeChanged" is available with DetailsView Control.
It take place whenever DetailsView attempts to change between mode of edit,insert and read-only.
DetailsView also supports "ModeChanging" event.
What is DetailsView?
DetailsView is used when you need to display various fields of a single record in a tabular format.
DetailsView and FormView - Which is better?
Both the controls, DetailsView and FormView are almost similar with the functionalities. Both supports insert, edit and delete for the records. The only difference we can find is the layout they support. DetailsView is composed of DataFields while FormView is composed of templates which leads to tabular format and flow format consequently. Hence, with concern to layout and design, FormView is more flexible to use.
Limitation of boxing nullable type.
If we try to box the object which has no value(which is null) the object reference is assigned to null instead of boxing.
What you should do to avoid SQL Injection?
To avoid or minimize attack of SQL Injection, always use stored procedures or Parameterized query.
What should be done to avoid Script Injection?
To avoid script injection, following things can be done
1. Don't allow user to enter < and > characters as input.
2. Always Encode user's input and then store in the database.
Tell us the different ways to apply CSS in web page?
There are 3 different ways to apply CSS to any page.
1. Create a style sheet file and define all your styles and just provide the reference of the style sheet page in the head section using link tag.
2. Define style in head element of your page and use that styles in your page.
3. Define style inline. Inline style means add style attribute to particular HTML element.
Suppose you have deployed the website at production server. Now you have to change one of the style in style sheet file? How will you do it? After making change do you think, you need to compile it again and deploy it?
You can directly change the style at runtime at production server. And there is no need to compile and deploying the website again.
Session state variables are type safe.
NOTE: This is objective type question, Please click question title for correct answer.
Master Pages be nested.
NOTE: This is objective type question, Please click question title for correct answer.
What is the extension for a Master Page file?
The extension of Master Page file is .master.
What are the parts of Master Pages?
Mainly there are two parts of Master Page.
1. The area for Master Page content
2. Area for the child Page, which is replace by child pages content.
What do you mean by ContentPlaceHolder in Master Page?
Master Page works as a parent page for all child pages. There will be some area in master page, which will be used to replace the content of master page with the child page's content. That area is called ContentPlaceHolder.
<asp:ContentPlaceHolder ID="Body" runat="server">
</asp:ContentPlaceHolder>
Over here, content of child page will be displayed.
1
...
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
...
78
More ASP.NET Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
Interview Questions and Answers Categories
.NET Certifications
.NET Core
.NET Framework
ADO.NET
AI ML
Android
Angular
AngularJS 1x
Aptitute Test
ASP.NET
ASP.NET AJAX
ASP.NET Core
ASP.NET MVC
ASP.NET Web API
Aurelia
Azure
Best Practices
BizTalk Server
Bootstrap
C#
Cloud
CMS
CSS 3
Data Structures & Algorithms
Design Pattern & Practices
DotNetFunda.Com
Entity Framework
Error and Solution
F#
Function Points (FPA)
HR
HTML 5
IIS
Interview Questions
JavaScript
jQuery
Kinect
LightSwitch
LINQ
Management
Mobile Development
MSBI (SSIS, SSRS, SSAS)
Mule
Networking
News and Community
Node.js
NoSql
OOPS
Oracle
Others
PostgreSQL
PowerShell
Product Reviews
Project Management
Python
QA (Testing)
R Language
Regular Expressions
SEO
SharePoint
SignalR
Silverlight
Sql Server
TypeScript
UML
VB.NET
Visual Studio
WCF
Web Analytics
Web Services, Remoting
Windows 8
Windows Forms
Windows Metro
Windows Phone
WPF
WWF
XML