Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: 4 ASP.Net & C# questions

Thread Tools

Re: 4 ASP.Net & C# questions

Frank Mamone
Posts: n/a
4) Try Debug.WriteLine(); You'll need to run the project in Debug mode of

There's also other commands you can lookup like:


The cool thing about it is that you can leave the Debug code in and it will
be ignored when you compile for Release.

You may also want to lookup the Trace commands which can write debug info to
a Trace file , event log , etc.

Hope this helps.

- Frank

"ASP Yaboh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 1) In JSP, the <form>'s "action" tag could point to a servlet. Is there
> similar functionality in ASP.Net, i.e. can a C# class be called like a
> servlet?
> 2) In some ".aspx.cs" files I can access the HTML's <form> object but

> I can not. In both cases, the <form> tag has an "id", "name" and
> "runat=server". What do I need to do to reliably expose the HTML <form>?
> UPDATE: I found the <form> object is not available to the .aspx.cs page
> unless I close my project and reopen it! I am using VS.Net 2003

> Development Environment 2003 version7.1.3088 and .Net Framework 1.1
> version1.1.4322).
> 3) When I do a "document.forms[0].submit()" through javascript, what, if
> any, event handler in the associated "aspx.cs" catches this submit?
> 4) There are some cases when debugging C# classes in an ASP.Net web
> application where I would like to display data to the Output console. I

> "Console.Writeline" but the text did not appear in the Output window. How

> I display data in a C# class that is part of an ASP.Net web app?
> I am new to ASP.Net but have several years experience in JSP. Any

> would be appreciated.
> Thank you.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Few Questions (HW questions already answered by me) C Programming 10 12-06-2006 05:48 PM
Malloc and free questions - learner questions pkirk25 C Programming 50 10-04-2006 02:22 PM
Questions on Canon 300D and etc. questions regarding digital photography Progressiveabsolution Digital Photography 12 03-24-2005 05:18 PM
Newbie questions - Couple of VC++ questions regarding dlls and VB6 Ali Syed C Programming 3 10-13-2004 10:15 PM
Re: Questions....questions....questions Patrick Michael A+ Certification 0 06-16-2004 04:53 PM