Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

what is aspcompat? what it does?

what is aspcompat? what it does?..

Answer / kavitha

AspCompat is an attribute used in the @ Page directive. It
specifies whether or not to execute an ASP.NET page on a
single-threaded apartment (STA). It works as a
compatibility option. The default value of this attribute
is false. Setting this attribute to true creates an
apartment of type STA for the page. This allows the page to
call STA components, such as the components developed with
Microsoft Visual Basic 6.0.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

can we transfer data from one page to another page using viewstate if so how?if not y?

37 Answers   AppShark, DataSync, Gtech, iGate, Wipro,

How long the items in ViewState exists?

0 Answers   SwanSoft Technologies,

What is global.asax file used for?

0 Answers  

Write some code using interfaces, virtual methods, and an abstract class`

0 Answers  

How do you create a master page?

0 Answers  

difference between gridview,data list and repeater control

7 Answers   ABC, Olive Tech,

What is distributed system in

0 Answers  

What is web api vs wcf?

0 Answers  

Types of caching ?

3 Answers   TCS,

How to Deploy a project?

2 Answers  

What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,

How can I have a particular web page in an application which displays its own error page?

0 Answers