.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

what are methods of response object?

Posted By: krishnavenikaladi     Posted Date: February 20, 2010    Points:2   Category :ASP.Net
what are methods of response object in asp.net?

Responses
Author: Amit Mehra             
Posted Date: February 20, 2010     Points: 5   

Hi,

AddHeader
Set the HTML header name to value.

AppendToLog
Adds a string to the end of the Web server log entry for this request.

BinaryWrite
Writes the given information to the current HTTP output without any character set conversion.

Clear
Erases any buffered HTML output.

End
Stops processing the .asp file and returns the current results.

Flush
Sends any buffered HTML output immediately.

Redirect
Sends a redirect message to the browser, causing it to attempt to connect to a different URL.

Write
Writes a variable to the current HTML output as a string.

http://www.triadcenters.com/caspdoc/Ch9_ASPBuiltIn104.html

Thanks,
Amit
Please "Mark As Answer " if this post help you.
Author: Lalij Mer             
Posted Date: February 21, 2010     Points: 5   

->The ASP.NET provides a class called HttpResponse which is defined in the namespace System.Web. This class provides various methods and properties which help you use various information related to a web response.
An instance of this class is created by default in all the pages, so that you can use this object without creating again each time in all the pages. The name of this object is Response.
In old ASP days, the Response object was the only way to write data to the page. ASP.NET provides the event handling mechanism and web controls so that you can write content to the page in an easier way.


Please Check my answer if you help....
Thank You...

Lalit.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend