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



Describe the difference between inline and code behind - which is best in a loosely coupled solutio..

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

Describe the difference between inline and code behind - which is best in a loosely coupled solutio..

Answer / raghumadhav tirunagari


inline function bind at compile time can write in aspx page
with in <% %> .

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between a multi-layer and multi-tier applications?

0 Answers   Microsoft,


What is the extension of master page in asp.net?

0 Answers  


What is server redirect?

0 Answers  


How cross page posting is done in Asp.net 2.0?

3 Answers  


How would ASP and ASP.NET applications run at the same time on the same server?

0 Answers   Satyam,






a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?

0 Answers   CTS,


Explain diff. Betn dataset and recordset?

0 Answers  


What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? />

3 Answers   Syntax Softtech,


What is x xss protection?

0 Answers  


what is structured data format?

2 Answers  


In which event of the page viewstate is available?

0 Answers  


What is ashx file in asp.net?

0 Answers  


Categories