• How do you relate an aspx page with its code behind page?



• How do you relate an aspx page with its code behind page?..

Answer / sisir champati

The topmost line in an aspx page should be as follows:

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="MyFile.aspx.cs" Inherits="MyFile" %>

The part that says CodeFile="MyFile.aspx.cs" is the one that
links the code behind page to the aspx one.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP Interview Questions

IN THREE TIER AMONG THREE LAYERS WHICH ONE IS INDEPENDENT LAYER AND HOW?

0 Answers  


Is classic asp dead?

0 Answers  


Is asp a scripting language?

0 Answers  


What is asp give its application?

0 Answers  


What is a form collection in asp?

0 Answers  






Define application object?

0 Answers  


What is n-tier system?

0 Answers  


How do I create an aspx file?

0 Answers  


Name the event handlers of application object?

0 Answers  


What does asp stand for?

0 Answers  


Explain the difference between cookies collection and form/querystring collection?

0 Answers  


why many web.config files are used in are project

1 Answers  


Categories