Describe the difference between inline and code behind?
Answers were Sorted based on User's Feedback
Answer / sadhana
codebehind:
If you want to make the separation between the HTML file
and the coding file then you can use CodeBehindFile
inline:
only html file is used.no separation can be made in inline
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sivasaravanan
inline:
is written along side the html in a page.
code behind:
is a concept where the content of page in one file and the
server side code is another file...
Is This Answer Correct ? | 1 Yes | 1 No |
Why is it preferred to not use finalize for clean up?
What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?
What is asp.net caching?
How can u debug your .net application?
# What is the transport protocol you use to call a Web service?
Is asp.net mvc still used? : Asp.Net MVC
Way of updating a table other than stored procedure and hard coded query?
Is web config mandatory?
What is http only cookie?
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.
2 Answers Microsoft, Syntax Softtech,
What is caching in asp.net?
How can you register a custom server control to a web page?