What?s the difference between Codebehind="MyCode.aspx.cs"
andSrc="MyCode.aspx.cs"?
Answers were Sorted based on User's Feedback
Answer / guest
CodeBehind is relevant to Visual Studio.NET only
Is This Answer Correct ? | 17 Yes | 2 No |
Answer / gautam
CodeBehind is relevant to Visual Studio.NET only
Is This Answer Correct ? | 8 Yes | 1 No |
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 |
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 |
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 |
How can we update records in gridview?Is there any appropriate code for it?
How many types of validation controls are provided by ASP.NET?
What is rending process in ASP.NET?
0 Answers Sans Pareil IT Services,
What is validationsummary server control? where it is used ?
What is the difference between Debug.Write and Trace.Write? When should each be used?
How can we inherit a static member?
how can we display records in single datagrid using two datasets in different place?
2 Answers Global Computer, Honeywell,
Define WCF ABC , Diffrent Contract. Diff b/w Wcf and in webservice
How many ways are there to maintain a state in .net? What is view state?
What are the built-in objects in asp.net?
what is diffrance between response.write & response.output.write
Differentiate the session object and application object?