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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What options are available to deploy my .net applications?

462


I have written an assembly that I want to use in more than one application. Where do I deploy it?

456


Define common type system (cts)?

495


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

1442


What are the attributes of the

tags? What are their functions?

514






what is the need of a sealed class when we are having a structure

1861


What are the attributes of the tags?

509


by puting attendance to students if he absent tat should intimate to his fathers mobile automatically anybody having code send to me

1391


What is use of asp?

493


who is the best Trainer for ASP.NET MVC in Hyderabad?

1023


What is the common type system (cts)?

529


. which tag i need to use manually to bind columns in a datagrid ?

1615


What is the difference between sap r/2 and r/3

520


What is a variable in asp?

523


How could u display all of the cookies/cookie values for a user through a Web page in ASP?

1694