Describe the difference between inline and code behind -
which is best in a loosely coupled solution Tightly coupled
- INLINE
Answers were Sorted based on User's Feedback
Answer / m.sivakumar
Difference between inline and code behind - which is best?
Answers:
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.
Inline Code:- Inline Code written along side the HTML in a page.
Code Behind:- Code Behind is simply a separate code file linked to your web form or .aspx page. Code is stored in separate file which is identified by a .cs suffix or .vb suffix.
Code Behind is the best.
Because:-
Separation of the content from the code. It is practical to have a designer working on a markup while a programmer writes code.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / raghumadhav tirunagari
inline function bind at compile time can write in aspx page
with in <% %> .
Is This Answer Correct ? | 2 Yes | 1 No |
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
What is asp short for?
Elaborate differentiation between ViewState and SessionState?
Explain the main function of razor in asp.net? : asp.net mvc
Explain the difference between debug.write and trace.write?
Explain what is event bubbling?
If you are using components in your application, how can you handle exceptions raised in a component?
How do you identify that the page is postback?
What is application state?
hi im shailendra singh my question is how we deploye the data base
what is the difference b/w Asp.net server controls and html server controls in .net?
2 Answers iGate, Profiniti Systems,