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

What is session in asp.net?

0 Answers  


What is the differances between a abstract calss and interface

2 Answers   Patni,


What are themes and skins in 2.0, explain usage scenario?

0 Answers  


Suppose you display a data having 200 records in a datagrid. Then you edit 100 records of them. Now when you will press update button,all 100 records should be updated in single shot rather than reading every record and updating. How to do it?

4 Answers   Wipro,


What is difference cookie and session?

0 Answers  






In what languages in ASP written?

4 Answers   Microsoft,


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

0 Answers  


What is AppDomain?Explain how it works.

9 Answers   Tech Mahindra,


What kind of programming language is ASP.NET?

0 Answers   3i Infotech,


hi i have a problem regarding to datagrid in aspdotnet.i have a datagrid in my application.i have to place add,edit,delete buttons or links what ever it may be. now the problem is if i click on add button then the page has to redirected to another form called "xyz.aspx" and if i click on edit button the page has to redirected to another form called "abc.aspx".i am phasing the problem that if where ever i click on the datagrid the cursor goes to gv1_SelectedIndexChanged event.please tell me the solution about the code.

4 Answers   Lambent,


can u debug application programatically? if yes how?

0 Answers   FactorH,


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

0 Answers   Siebel,






Categories