TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
littlesun69
NA
5
0
Using Request and the tracing method in a function
Feb 16 2004 4:06 AM
I'm using page tracing method and instead of writing it over and over, I wanted to write a function in a .cs page and just call the function from my other pages. Here is my code: public void pageTracing() { if (Request["trace"] == "trace") { Trace.isEnabled = true; } } It's giving me these errors: The name 'Request' does not exist in the class or namespace 'web_isotope.functions.clsFunctions' The type or namespace name 'Trace' could not be found (are you missing a using directive or an assembly reference?) If you please could, give me an example of the correct way to do this, I'm just beginning, thanks in advance!
Reply
Answers (
0
)
Closing the webbrowser-window
Hidden parts of the page in ASP.NET???