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 |
Best Institute in india for online training (Dotnet/java/Tibco/Dwh/etc.....)
What is the concepts of globalization and localization in .net?
What is query string in asp.net?
when user is logged on the information is saved in a cookie, what is the name of that cookie?
Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?
How to send auto matic emails based on scheduled tasks to several of my clients
What is webresource axd?
version information is mentioned in which file
What is the purpose of asp.net?
Where does Web.Config Info stored? Will this be stored in the registry?
what is diffrence between debug class and trace class in asp.net ?
What do you understand by aggregate dependency?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)