Home »
MCQs »
ASP.Net MCQs
Which is the correct basic syntax of the Control directive?
31. Which is the correct basic syntax of the Control directive?
- <%@ Control %>
- <%@ Control Language="C#" EnableViewState="false" %>
- <%@ Control Language="C#" %>
- None of the above
Answer: B) <%@ Control Language="C#" EnableViewState="false" %>
Explanation:
The basic syntax of the Control directive is:
<%@ Control Language="C#" EnableViewState="false" %>