Friday, January 29, 2010

What is the difference between Response.Write() andResponse.Output.Write()?

Response.Output.Write() allows you to write formatted output.
for eg:
it is very similer to console.write which we use in c#.net(console programming)
we use place holders for formated output...

Response.Output.Write("

Item: {0}, Cost: ${1}

",item.Description, item.Cost);

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates