• 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

Define application object?

0 Answers  


what is diff c#and vb.net what is .net framework 3.5 what is webservice with expmles

0 Answers  


What are the different types of html?

0 Answers  


What is a Dictionary object?

2 Answers  


What is the difference between razor and aspx view engine?

0 Answers  






How do I open an aspx file in pdf?

0 Answers  


What is an .asp file?

0 Answers  


Name the two properties which are common in every validation control?

0 Answers  


what is page

0 Answers  


Which is the default Scripting Language of ASP (server- side)?

2 Answers  


What is a FileSystemObject object?

1 Answers  


Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick

1 Answers   ADC, Microsoft,


Categories