• 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

What does Internet Information Server (IIS) assume to be the default language for Active Server Pages? A. Jscript B. JavaScript C. JAVA D. VBScript E. ECMAScript

2 Answers  


What is the function of Buffer in Response Object?

1 Answers  


Name and explain about the Objects in ASP?

1 Answers  


Difference between GET and POST? Which is used when?

3 Answers  


What is the common type system (cts)?

1 Answers  


How do I open aspx files on android?

1 Answers  


Any one tell me what GOOGLE GEARS and how to use it ?

1 Answers   HCL,


How do I open aspx files on windows 10?

1 Answers  


Explain the differences between asp and asp.net and is asp.net backward compatible to asp?

1 Answers  


Short note on creation of job site in ASP.

0 Answers  


Explain how do you box a primitive data type variable?

1 Answers  


What is ClientCertificate collection?

1 Answers  


Categories