Click to See Complete Forum and Search --> : Reponse.Write is not working :(


cgi_js
04-26-2008, 10:45 AM
Hello

In Visual Studio 2005, I wanted to create a new V.NET ClassLibrary project. When I tried to use response.write in this class, it tells me that "response" is not declared.

What to do?

chazzy
04-26-2008, 11:54 AM
Response only makes sense from inside a web app. this is a library, as a result doesn't have access to any display. You can use Console.WriteLine to printout to command line, but i dont' think that's what you're trying to do.