How do you relate an aspx page with its code behind page ?
Answers were Sorted based on User's Feedback
Answer / sivasaravanan
using Page directive
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="LoginInformation.aspx.cs"
Inherits="LoginInformation" Title="Untitled Page" %>
| Is This Answer Correct ? | 29 Yes | 6 No |
Answer / bhavani
This is the top line of your export.aspx page.
<%@ Page Language="C#" CodeFile="Export.aspx.cs"
Inherits="Health_Export" %>
--------------------------------------...
this is the class Health_Export in your code behind which
your aspx page is inheriting.
public partial class Health_Export : System.Web.UI.Page
| Is This Answer Correct ? | 10 Yes | 4 No |
Answer / banupriya
<%@ Page Language="C#" AutoEventWireup="false"
CodeFile="dd.aspx.cs" Inherits="ddsolved" %>
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vimal
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="solvedtickets.aspx.cs" Inherits="solvedtickets" %>
ya this is the correct answer in aspx page we are we are
defined d codefile naaa
| Is This Answer Correct ? | 4 Yes | 0 No |
Can we use multiple web.config files in an sigle appliction?
what is use of web.config?
How do you do validations. Whether client-side or server-side validations are better.?
Where do the cookie state and session state information be stored?
What is a PostBack ?
About CLS and CTS ?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Explain security types in asp.net?
I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?
How to send auto matic emails based on scheduled tasks to several of my clients
what is the difference between primary key and foreign key?
What asp.net control can embed xaml into asp.net pages?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)