Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Answers were Sorted based on User's Feedback



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

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 ?    28 Yes 6 No

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

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

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

Answer / banupriya

<%@ Page Language="C#" AutoEventWireup="false"
CodeFile="dd.aspx.cs" Inherits="ddsolved" %>

Is This Answer Correct ?    5 Yes 0 No

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

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

Post New Answer



More ASP.NET Interview Questions

What is enableviewstate in asp net?

0 Answers  


can sn.exe can be used before gacutil.exe

2 Answers   Accenture,


If 200 is for all successful operation then why do we have 201 response codes?

0 Answers  


What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.

2 Answers   Syntax Softtech,


What is Virtual path in ASP.Net

2 Answers   Proteans,






What are the advantages and disadvantages of session?

0 Answers  


can i inherit one web applications into another web applications in asp.net?

7 Answers  


What is a multilingual website?

0 Answers  


What is session authentication?

0 Answers  


What is clr? Difference between clr & cts?

0 Answers  


How will you load dynamic assembly? How will create assesblies at run time?

0 Answers  


Any alternative to avoid name collisions other then Namespaces?

1 Answers  






Categories