Active Server Pages interview questions

Category: Dot Net Questions    |    3 views
  1. How do you create a recordset object in VBScript?
  2. What is Querystring collection? - It allows you to extract data sent to the server using a GET request.
  3. Explain the difference between POST and GET Method. - GET requests are string data that is visible to the end user via the URL and a limit of 2kb, POST requests have no limit on total data and the user can’t see the data in a query string.
  4. Why do we use Option Explicit? - To avoid multiple variables of the same name.
  5. How do you write an SQL insert statement? - insert into tablename (fieldA, fieldB, fieldC)Values(’dataA’, ‘dataB’, ‘dataC’);
  6. How can you have different number of cells for each row of a table in HTML? - using colspan and rowspan
  7. What is wrong with the following code: <%afname=”header.asp”%><!–#include file =”<%=afname%>”–>
  8. What variable can you use to share info across the whole application for one user? - Use the sessions object
  9. What is string concatenation function in VBScript? - the ampersand symbol and ampersand space underscore across multiple lines
  10. How do you get the value of a combo box in Javascript? - document.forms[’formName’].elements[’comboName’].options[i].value
  11. What is a class in CSS? - A class allows you to define different style characteristics to the same HTML element.
  12. When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?
  13. Which is the default Data types in VBScript? - Variant.

Share/Save/Bookmark

1 Star2 Stars
Loading ... Loading ...

0 responses so far!

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word