• 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 is n-tier system?

528


what is page

1397


very Simple Question i Know But I Cant Do It public int Y { get { return _y; } set { _y = value; } } How Can i Check for Value Y in Accessories Say if Y > 5

1402


What is http header?

502


How do I open an asp file in excel?

523






Can I use .net framework components from a com program?

489


Actually i downloaded Ajax news flash module but i am having issues enabling it on my site. need help.

1359


What is the difference between cshtml and aspx?

525


How do I view an asp file?

474


What is an .asp file?

513


Can .net framework components be used from a com program?

470


difference between partial and public ?

1669


Hi, i am looking for join learn real time project on dotnet please tell me which is the best institute now i am staying in a ameerpet. thank u for advance.

1030


In case of we are not saving the information as cookies. how server detects the same user?

1735


What is asp language?

477