MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How to disply values to the user?
A
Using Request.form
B
Using Response.write
C
Using Request. Querystring
D
Using Request.Servarvariables
Explanation: 

Detailed explanation-1: -The Write method writes a specified string to the current HTTP output.

Detailed explanation-2: -write() Method. The response. write() (Added in v0. 1.29) method is an inbuilt Application program Interface of the ‘http’ module which sends a chunk of the response body that is omitted when the request is a HEAD request.

Detailed explanation-3: -The ASP Write() method is used to display a string as an output on the webpage. It is a predefined method of the Response and Textstream type object. Parameter Values: This method contains the value i.e variant which represents the specified string that you want to display as an Output.

Detailed explanation-4: -The difference between Write() and WriteLine() method is based on new line character. Write() method displays the output but do not provide a new line character. WriteLine() method displays the output and also provides a new line character it the end of the string, This would set a new line for the next output.

There is 1 question to complete.