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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is preprocessor in .net and type, where it use?

656


Where do the cookie state and session state information be stored?

510


How does windows service lifecycle differ from a .standard. Exe?

512


What is query string?

566


How are sessions stored?

530






What is a 307 redirect?

500


What is the part of url?

530


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

538


What are triggers of an updatepanel?

549


Is it possible to change the index of primary key on table?

406


Why mvc is faster than asp.net? : Asp.Net MVC

528


Define managed code and managed data in .net?

509


What is the default timeout for a cookie?

560


What is the compiled object?

1635


What is viewstate parameter?

519