Describe the difference between inline and code behind.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
What is gridview in asp.net?
What is the difference between Trace and Debug?
How do you handle unhandled exceptions in ASP.NET?.
Where do we store our connection string in asp.net application?
what is synchronization and asynchronization. what are the difference between two?
What is http request and response?
What are the various session state management options provided by asp.net?
Define secured sockets layer.
Will the asp.net validators run in server side or client side?
Is it necessary to lock application state before accessing it ?
Can any one explain with the example how to capture the application error in Aplication_Error() method?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc