Describe the difference between inline and code behind.

Answers were Sorted based on User's Feedback



Describe the difference between inline and code behind...

Answer / ramgopal reddy

Inline code written along side the html in a page.
Code-behind is code written in a separate file and
referenced by the .aspx page.

Is This Answer Correct ?    36 Yes 3 No

Describe the difference between inline and code behind...

Answer / sudhir kunnure

inline code writing in client side code you can write
server side code to html page in .dot net.if you write all
code on client side adding namspace then it inline code.
if you write seprate code for server side and client side
then server side code is code behind

Is This Answer Correct ?    15 Yes 6 No

Describe the difference between inline and code behind...

Answer / chauhan rakesh botad

Inline code written along side the html in a page.
Code-behind is code written in a separate file and
referenced by the .aspx page.

Is This Answer Correct ?    6 Yes 2 No

Describe the difference between inline and code behind...

Answer / lakki

inline code is nothing but the design and code wil be implemented in same html page, where as in code behind the design page is seperated with .aspx file and coding is seperated with .aspx.cs file.

Is This Answer Correct ?    4 Yes 1 No

Describe the difference between inline and code behind...

Answer / khan ashrafeen

Code Behind refers to the code for an ASP.NET Web page that is written in a separate class file that can have the extension of .aspx.cs or .aspx.vb depending on the language used.
Inline Code refers to the code that is written inside an ASP.NET Web Page that has an extension of .aspx

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is gridview in asp.net?

0 Answers  


What is the difference between Trace and Debug?

2 Answers   BirlaSoft,


How do you handle unhandled exceptions in ASP.NET?.

3 Answers  


Where do we store our connection string in asp.net application?

0 Answers  


what is synchronization and asynchronization. what are the difference between two?

1 Answers   TCS,






What is http request and response?

0 Answers  


What are the various session state management options provided by asp.net?

0 Answers  


Define secured sockets layer.

0 Answers  


Will the asp.net validators run in server side or client side?

0 Answers  


Is it necessary to lock application state before accessing it ?

1 Answers  


Can any one explain with the example how to capture the application error in Aplication_Error() method?

1 Answers   Infosys,


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

0 Answers  


Categories