What is the use of directives & explain with example?

Answers were Sorted based on User's Feedback



What is the use of directives & explain with example?..

Answer / guest

sorry some syntex error was ther

i apoligies for that...

<% @Page Attributes..... %> contain specific attributes
for
page
<% @Import Attributes.....%> contain specific attributes
for include libraries
<% @Register Attributes.....%> contain specific
attributes
for control to be register for ther perticular page

Is This Answer Correct ?    1 Yes 0 No

What is the use of directives & explain with example?..

Answer / guest

Directive Specifies settings used by the page and user
control compilers when they processes ASP.NET Web Forms
page (.aspx) and user control (.ascx) files.


< @Page Attributes..... /> contain specific attributes for
page
< @Import Attributes...../> contain specific attributes
for include libraries
< @Register Attributes...../> contain specific attributes
for control to be register for ther perticular page

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Can you change a Master Page dynamically at runtime?

0 Answers  


What is odata in web api?

0 Answers  


Explain managed code an un-managed code.

0 Answers  


can we pass coditions in swtich case?

3 Answers  


What is the parent class of all web server control?

0 Answers  


What is difference between response.redirect and server.transfer ?

2 Answers   Kalinga Software, Satyam,


what is state management in ASP.NET

2 Answers   MCN Solutions,


Can we throw exception from catch Block?

9 Answers   Accenture, IBM,


How can we update records in gridview?Is there any appropriate code for it?

0 Answers  


What are app services?

0 Answers  


What is difference between mvc and asp.net? : Asp.Net MVC

0 Answers  


Is a dll file an executable?

0 Answers  


Categories