ASP.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 743 Page Views: 

Diffrentiate between src and code behind?



Posted By: Avi Date: 5 October 2010 12:26:19 AM
 Answer:

src:- It is an attribute where we mention the name of the code-behind class to dynamically compile and deploy as needed by JIT. Code-behind:- It contains or represents the logic behind the User Interface. It refers to the code that is contained in a seperate class file. It allows a clean seperation of the HTML user interface page from the asp.net coded page.


Posted By: avibtech


Date: 5 October 2010 12:26:19 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image xOdbMI
Related Questions
ASP.Net : Suppose a certain ASP.Net  function is executed on MouseOver  for a specific button, then where would you add an event handler?

Suppose a certain ASP.Net function is executed on MouseOver for a specific button, then where woul....

The MouseOver attribute is added to the button. The code is as follows:- Buuton_Name.Attributes.Add....
Category: ASP.Net Date: 10/1/2010 8:37:13 AM
ASP.Net : Assume a situation where one person is logged in and he leaves the system without logging off. Now the second person comes and try to log in his account. Now it is required that as soon the new person logs in the seesion of the first user automatically ge

Assume a situation where one person is logged in and he leaves the system without logging off. Now t....

The following two lines in the page load event of login page can help in solving this situation:- f....
Category: ASP.Net Date: 10/1/2010 8:20:14 AM
ASP.Net : In clent-side validation form which type of events are commonly used?

In clent-side validation form which type of events are commonly used?

Required Field Validator.
Category: ASP.Net Date: 10/1/2010 7:07:14 AM
ASP.Net : What is the use of ASPCOMPAT attribute?

What is the use of ASPCOMPAT attribute?

ASPCOMPAT attribute is used as an compatibility option. It is known that ASP works on STA model and ....
Category: ASP.Net Date: 10/1/2010 6:46:13 AM
ASP.Net : Is it possible to set ControlToValidtae property on themes or style sheet themes in ASP.Net?

Is it possible to set ControlToValidtae property on themes or style sheet themes in ASP.Net?

No,it is not possible to set this property on themes or style sheet themes in ASP.Net.
Category: ASP.Net Date: 10/1/2010 5:54:13 AM