What?s the difference between Codebehind="MyCode.aspx.cs"
andSrc="MyCode.aspx.cs"?

Answers were Sorted based on User's Feedback



What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs&quo..

Answer / guest

CodeBehind is relevant to Visual Studio.NET only

Is This Answer Correct ?    17 Yes 2 No

What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs&quo..

Answer / gautam

CodeBehind is relevant to Visual Studio.NET only

Is This Answer Correct ?    8 Yes 1 No

What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs&quo..

Answer / duryodhan

code behind is created through assembly that's defined in bin
folder and src is definded in outward of bin folder that is not making dll and .exe file.

Is This Answer Correct ?    6 Yes 0 No

What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs&quo..

Answer / sundherrajan

Code All build Assembly is placed inside the bin folder
Src the source cs file/vb fiel is placed in the source
folder and the source file is complied and assembly is
placed inside bin folder during runtime of the aspx page

Is This Answer Correct ?    9 Yes 6 No

What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs&quo..

Answer / venkat

Visual Studio uses the Code behind attribute to distinguish the page source or programming logic from the design. Also the src attribute will make the page compile on every request. That is the page will not be compiled in advance and stored in the bin as a dll instead it will be compiled at run time.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What language does asp.net use?

0 Answers  


Is it possible to prevent a browser from caching an ASPX page?

3 Answers  


What is redirectpermanent in asp.net?

0 Answers  


What r Callbacks in ASP.NET?

1 Answers  


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,






How many types of Cookies are available in ASP.NET?

0 Answers   MindCracker,


List some of the important session state modes of asp.net.

0 Answers  


Can we have multiple web config files for an asp.net application?

0 Answers  


What is repository pattern in mvc.net? : asp.net mvc

0 Answers  


What is the difference between response.redirect and server.transfer, how to choose one among the other?

3 Answers   247Customer,


What is the difference between cookie and session?

0 Answers  


If you are using components in your application, how can you handle exceptions raised in a component?

0 Answers   Accenture,


Categories