Which keyword you should use for class not to extend?

Which keyword to be used for making the class accessible
within the assembly only

what are the authentication mode of ASP.NET

How will you call a JavaScript function using code-behind?

How will you define the Session Timeout?

What are the methods to validate client-side whether the
input is a correct Date format?

You want to write a log when ASP.NET application starts.
Which is the best place to write that peice of code?

What are the page load events and what is there order?

What is the difference between abstract class and interface?

What are the differences between DataSet and DataReader?

What are the two properties other than DataSource, which is
required to populate the Drop Down Menu?

What is difference between String and StringBuilder Classes?

What are differences between Custom control and User
control?



Which keyword you should use for class not to extend? Which keyword to be used for making the cla..

Answer / bhabani dash

SEALED KEYWORD USED FOR CLASS TO NOT EXTEND

FORM,WINDOW,PASSPORT,CUSTOM AUTHENTICATION MODES

CALLING THE .JSS FILES

IN THE WEB.CONFIG FILES UNDER SESSION TAG <TIMEOUT = 30 MIN>

IN THE EVENT LOG

PAGE_INT,PAGE_LOAD,PAGE_RENDER,PAGE_LOADVIEWSTATE,PAGE_UNLOA
D

ABSTRACT CLASS CAN HV CONCREATE METHOD WHERE AS INTERFACE
DOES NOT HV ANY CONCREATE METHODS . ANY CLASS IMPLEMENTING
INTERFACE HV TO IMPLEMENTS ALL ITS METHODS .ABSTRACT CLASS
CAN BE THE BASE CLASS OF ALL DERIVE CLASS .ABSTRACT CLASS
CHAIN CAN BE BREAK TO GIVE NEW DEFINATION WHEREAS
INTERFACE CHAIN CANNOT BE BREAK .INTERFACE CAN BE IMPLEMENT
BY A STRUCTURE BUT ABSTRACT CLASS CANNOT BE USED WITH A
STRUCTURE BCOSE STRUCTURE DOESNT SUPPORT INHERTANCE.



DATASET IS DISCONNECTED ARCHITECTURE WHERE AS DATAREADER IN
CONNECTED ARCHITECHTURE.DATASET CONTAIN DATA IN XML FORMAT
WHERE AS DATAREADER IN ORIGINAL DATA TABLES.DATASET USES
DATAADAPTER TO FETCH DATA FROM DB WHERE AS DATAREADER
DIRECTLY FETCH DATA FROM DB.DATA SET IN READ WRITE WHERE AS
DATAREADER IS READONLY DATAOBJECTS WHICH MEANS DATA CAN BE
MANUPULATE INSIDE DATASET BUT NOT IN DATAREADER.


STRING BUILDER CLASS IS MUTABLE WHERE AS STRING IS NOT
MUTABLE WHICH MEANS WE CAN ADD NEW STRINGS TO STRING
BUILDER CLASS WHERE WE CANNOT MANUPULATE STRING ONCE IT IS
DECLARED.


CUSTOM CONTROLS ARE COMPILED CONTROLS WHERE USER COTROLS
ARE NOT COMPLIED .CUSTOM CONTROLS CAN BE USED ACROSS MANY
APPLICATION BCOX IT REMAINS IN DLL FORMAT WHICH CAN BE
REFERENCE WHERE AS USER CONTROLS CANNOT BE USED IN MORE
THAN ONE APPLICATION.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

how can you bind data from dataset to XML file

2 Answers   LG Soft,


Explain advantages of caching?

0 Answers  


What are the main differences between asp and asp.net?

0 Answers  


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.

1 Answers   Lambent,


What are HTTP handlers in ASP.NET?

0 Answers   MindCracker,






what is Impersonation

3 Answers   Alliance One, Task Informatics,


Differentiate session and cookie

1 Answers  


What are the asp.net 2.0 features?

0 Answers  


What are the intrinsic objects present in ASP.NET

1 Answers   IBM,


Are xaml file compiled or built on runtime?

0 Answers  


How can we register exception filter from the action?

0 Answers  


What is .netmodule and how is different from .dll and .exe

2 Answers   NIIT,


Categories