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 we register exception filter globally?

0 Answers  


What is the difference between Session and response.Redirect?

0 Answers   Microsoft,


What are the advantages and disadvantages of viewstate ?

1 Answers  


What are runtime hosts?

4 Answers   Microsoft,


What is the difference between session state and session variables ?

6 Answers   Digital GlobalSoft,


How many view state can be hold by a aspx page ?

3 Answers   Intellevate,


What are the types of authentications in ASP.NET?

2 Answers   Accenture, BirlaSoft,


How many types of page.

5 Answers   TCS, Verinon Technology Solutions,


Create the Output by mearging 2 tables and taking common column sid from both you should not use database create table and data in it Randomly table 1 sid sname saddress 1 sa ampt 2 na hyd 3 ha hyd table 2 sid dno dname 1 12 stats 2 23 phy 3 12 stats OutPUt sid sname saddress did dname 1 sa ampt 12 stats 2 na hyd 23 phy 3 ha hyd 12 stats

1 Answers  


Have u used webcontrols?Tell me something about these?

2 Answers   Microsoft,


What is the difference between User Controls and Master Pages

22 Answers   Deloitte, IBM, IntraLogic, Markit, TCS,


What is a web api endpoint?

0 Answers  


Categories