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

4. How do you plan to achieve these goals?

7 Answers   Burger King, Latest, Swatz Oils,


Why do we need url encoding?

0 Answers  


Difference between datagrid and datareader?

1 Answers  


What is cookies in asp net?

0 Answers  


Can we change the session timeout in ASP.NET, if yes then how and from where?

7 Answers   L&T,






What do you mean by authentication and authorization

3 Answers  


Explain the Order of events in an asp.net page?

0 Answers  


Explain the difference between asp.net mvc and asp.net webforms

0 Answers  


What is difference cookie and session?

0 Answers  


Define repository pattern in asp.net mvc? : asp.net mvc

0 Answers  


Is it right that ASP.NET Web API has replaced WCF?

0 Answers  


What is postback and autopostback in asp.net?

0 Answers  


Categories