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 |
Is asp.net still used?
Which is faster viewdata or viewbag?
If i have 1000 records in dataset, how to do paging?
Types of caching. How to implement caching?
Explain the overview of asp.net?
Define a multilingual website?
Is it right that ASP.NET Web API has replaced WCF?
How to retrieve user name in case of Window Authentication?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
What is difference between URL and URI?
What is the use of placeholder control?
How to fetch a data from one table to another table in asp.net ?