GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft
Go To First  |  Previous Question  |  Next Question 
 Microsoft  |  Question 13 of 35    Print  
Describe the difference between inline and code behind - which is best and why ?

  
Total Answers and Comments: 2 Last Update: November 29, 2006     Asked by: NithyaSurendran 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: PavanKumar
 
Hi,Generally the terms in-line code and code behind are the 2 approaches in which we can code our applications. In our Windows based applications the designing and Programming are both implemented in the same page whereas in an web-application we have the option of either going with the code behind or an in-line code in ASP.Net. In-ine code is generally can be done by adding our code in the HTML page of our ASP.Net application. Code behind can be done in our cs file of our application. Here the Designing is different from the Coding.Thanks & RegardsPavanKumar.S

Above answer was rated as good by the following members:
sbalaji407
October 27, 2006 09:59:20   #1  
PavanKumar        

RE: Describe the difference between inline and code ...
Hi Generally the terms in-line code and code behind are the 2 approaches in which we can code our applications. In our Windows based applications the designing and Programming are both implemented in the same page whereas in an web-application we have the option of either going with the code behind or an in-line code in ASP.Net. In-ine code is generally can be done by adding our code in the HTML page of our ASP.Net application. Code behind can be done in our cs file of our application. Here the Designing is different from the Coding.Thanks & RegardsPavanKumar.S
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
November 29, 2006 04:13:35   #2  
Urvil Shah        

RE: Describe the difference between inline and code ...

Hi

Abov answer is right. If you want to make the sepration between the HTML file and the coding file then you can use CodeBehindFile otherwise use in-Line method. It is up to choice but most of .NET users use Code Behind way while ASP users use Inline method.


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : exception is the runtime error ,we cant get required result . interrupt is the program provided by software or hardware which improves processor efficiency ...
Read Answers (3) | Asked by : subhashini

Latest Answer : - In the Integrated Services Digital Network (ISDN)there are two levels of service: the Basic Rate Interface (BRI), intended for the home and small enterprise, and the Primary Rate Interface (PRI), for larger users. Both rates include a number of B-channels ...
Read Answers (1) | Asked by : Ravi

View Question | Asked by : sridevi

Latest Answer : Hi,Abov answer is right. If you want to make the sepration between the HTML file and the coding file then you can use CodeBehindFile otherwise use in-Line method. It is up to choice but most of .NET users use Code Behind way while ASP users ...

1.What is difference between constant, readonly and static variables?2.There are two arrays containing integers – Array1 and Array2. The size of Array1 is m, and Array2 is n. Both arrays are sorted in ascending order. Write a function (in any language of your choice) that will merge the two arrays into a third array which again has numbers arranged in ascending order. The function will accept two arrays as arguments and return the third, merged array?3.Write a function in C# to implement Trim
View Question | Asked by : prakash

Latest Answer : The shared assembly is intended to allow several app on one machine, where the shared assembly is located in the GAC.When we speak about WebService there is a notion of distributed architecture, you can use method or service which could be located on ...

What is difference between a 3-tiered application and a 3-layered application? 
Latest Answer : This is very common question asked by couple of companies and I noticed developers usually gets confused about the difference.When we talk about multi-layer, we usually mean an application broken down into multiple layers such as a Database Layer, a Business ...


 Sponsored Links

 
Related Articles

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php" document ready function var highlighted
 

jQuery Interacting with Other Code

jQuery Interacting with Other Code We learned with our sorting and paging code that we can t treat the various features we write as islands The behaviors we build can interact in sometimes surprising ways; for this reason it is worth revisiting our earlier efforts to examine how they coexist with t
 

jQuery Completed sorting and paging code

Learning jQuery The Finished Code The completed sorting and paging code in its entirety follows mosgoogle geshibot lang php" fn alternateRowColors function tbody tr odd this removeClass even addClass odd ; tbody tr even this removeClass odd addClass even ; return this; ; document
 

C++ Inline Functions

C Inline Functions In this C tutorial you will learn about Inline function what is inline function reason for the need of inline function what happens when an inline function is written general format of inline function explained with example mosgoogle center What is Inline Function Inline functions
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Difference between Scholarship and Grant

Difference between Scholarship and Grant While both scholarships and grants allow students to pay for their tuition without having to pay the money back there are a number of key differences between the two Knowing the difference between grants and scholarship will make it much easier for students t
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape