CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_php_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 4/6/2006 4:59:31 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
dageyra
Asp.Net User
Commenting4/6/2006 4:59:31 PM

0/0

I am well-versed in VB & PHP, but not so much in ASP.

Is there an easy way to do multi-line commenting in ASP--PHP equivalent would be /* ... */?

Thanks in advance for any suggestions.
StrongTypes
Asp.Net User
Re: Commenting4/6/2006 5:14:35 PM

0/0

I assume since you are posting in the Migrating from PHP to ASP.NET forum, you are referring to ASP.NET and VB.NET. VB.NET does not have support for multi-line comments. C# does and the syntax is /* */.

HTH,
Ryan


Ryan Olshan
Microsoft MVP, ASP.NET
Blog | Group | Website | Strong Coders Community

How to ask a question
dageyra
Asp.Net User
Re: Commenting4/6/2006 5:23:08 PM

0/0

Thanks for the reply.  That's a real kicker to start off with, multi-line comments is a common and very useful feature.  Perhaps this is symbolic of the userbase/application ASP is aiming for.
StrongTypes
Asp.Net User
Re: Commenting4/6/2006 5:33:59 PM

0/0

ASP.NET has inline comments which could span multiple lines

<%--
   
I'm an inline comment. Mua ha ha.
--%>

HTH,
Ryan


Ryan Olshan
Microsoft MVP, ASP.NET
Blog | Group | Website | Strong Coders Community

How to ask a question
dageyra
Asp.Net User
Re: Commenting4/6/2006 5:45:46 PM

0/0

Does this only apply when going from HTML to ASP blocks and not within an existing <% ... %>?
StrongTypes
Asp.Net User
Re: Commenting4/6/2006 6:00:59 PM

0/0

The inline comment block needs to exist outside of an inline code block.

HTH,
Ryan


Ryan Olshan
Microsoft MVP, ASP.NET
Blog | Group | Website | Strong Coders Community

How to ask a question
djmutiny
Asp.Net User
Re: Commenting4/6/2006 6:08:24 PM

0/0

If you're using Visual Studio, you can highlight a block of code and click Ctrl-K,Ctrl-C for comment and Ctrl-K,Ctrl-U for uncomment.

Quite a lot of languages deliberately don't support multiline comments because of the bad practices that they can generate!

Cheers,
Carlos
7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Art of Commenting: How to Influence Environmental Decisionmaking with Effective Comments Authors: Elizabeth D. Mullin, Pages: 105, Published: 2000
Absolute Beginner's Guide to Computer Basics Authors: Michael Miller, Pages: 430, Published: 2007
Hebrews Commenting from Erasmus to Bèze, 1516-1598: 1516-1598 Authors: Kenneth Hagen, Pages: 125, Published: 1981
Dharmapalas's Yogācāra Critique of Bhavāviveka's Mādhyamika: Explanation of Emptiness: the Tenth Chapter of Ta-ch'eng Kuang Pai-lun Shih Lun, Commenting on Āryadeva's Catuḥśataka Chapter Sixteen Authors: Dharmapāla, John P Keenan, Pages: 0, Published: 1997
Practical C++ Programming Authors: Steve Oualline, Pages: 550, Published: 2002
Commenting & Commentaries: Two Lectures Addressed to the Students of the Pastors' College, Metropolitan Tabernacle, Together with a Catalogue of Biblical Commentaries and Expositions... Authors: Charles Haddon Spurgeon, Pages: 200, Published: 1876
Commenting a Commentaries Authors: Charles H. Spurgeon, Pages: 268, Published: 2008
The Practice of Response: Strategies for Commenting on Student Writing Authors: Richard Straub, Pages: 335, Published: 2000

Web:
HaloScan.com - Weblog Commenting, Ratings and Trackback A free weblog commenting and trackback system for web logs and websites.
Comment (computer programming) - Wikipedia, the free encyclopedia An illustration of Java source code with prologue comments indicated in red and inline comments in green. Program code is in blue. ...
Google Directory - Computers > Internet > On the Web > Weblogs ... A comment system for weblogs that can be used as a remote commenting system or can ... Free, easy to install weblog commenting system allowing webmasters to ...
YACCS: Commenting made simple. Free remotely-hosted commenting. Available in multiple languages and does not require JavaScript. Users can edit and delete posts, and ban IP addresses.
Flickr Photo Comment Tool However, it got real tiresome building the HTML snippets to put properly credited images into my comments and thread postings. So until Flickr’s wonderful ...
Blogger Buzz: Commenting made easier Oct 22, 2008 ... Today we’re bringing the embedded comment form out of Blogger in draft and making it easily available to everyone. ...
Seesmic Introduces Video Commenting for WordPress Blogs Apr 23, 2008 ... Seesmic, the video conversation startup founded by Loic Le Meur, has launched a WordPress plugin that allows users to leave video comments ...
Instructions for Commenting on WCAG 2.0 Documents The WCAG 2.0 Candidate Recommendation integrates minor changes in response to comments received on the Last Call Working Draft. ...
JS-Kit: Comments service The Comments widget provides a full-featured commenting engine for your web site . It is implemented as a lightweight widget and is incredibly easy to ...
Book Information | Christian Classics Ethereal Library Commenting and Commentaries. Author: Spurgeon, Charles Haddon (1834-1892). Select "All Formats" below for available ... User Comments: Comment on this book ...

Videos:
Metallica - Master Of Puppets With lyrics PLEASE READ THE DESCRIPTION!! Here is another lyrics video I made with Metallica. I just got the album today and I felt like posting my favorite song...
Tonight, Tonight - The Smashing Pumpkins Music Video for Tonight, Tonight by The Smashing Pumpkins. -I apologize for the comments section being disabled, however there were too many ignoran...
smurfs - episode 238 - crying smurfs not one of my favirite episodes... thanks for commenting everyone! i rarely check the comments though, (wen i do i look at all of em), so if u have s...
Chris Brown- Heart to Heart -Slideshow of Chris Brown for the song Heart to Heart by Chris Brown *- REFRAIN FROM ARGUING OR CUSSING WHEN YOU ARE COMMENTING-* CREDITS** - The web...
Take Me Or Leave Me IF PEOPLE DO NOT STOP ARGUING OVER INSIGNIFICANT THINGS VIA COMMENTS, I WILL PULL ALL RENT VIDEOS AND/OR DISABLE COMMENTING. DVD Quality RENT
La Vie Boheme A IF PEOPLE DO NOT STOP ARGUING OVER INSIGNIFICANT THINGS VIA COMMENTS, I WILL PULL ALL RENT VIDEOS AND/OR DISABLE COMMENTING. DVD Quality RENT
I'll Cover You (Reprise) IF PEOPLE DO NOT STOP ARGUING OVER INSIGNIFICANT THINGS VIA COMMENTS, I WILL PULL ALL RENT VIDEOS AND/OR DISABLE COMMENTING. DVD Quality RENT
Without You IF PEOPLE DO NOT STOP ARGUING OVER INSIGNIFICANT THINGS VIA COMMENTS, I WILL PULL ALL RENT VIDEOS AND/OR DISABLE COMMENTING. DVD Quality RENT
MORE Brawl Taunts (Pt. 2) GO TO http://www.wowomg.com/new/ DO IT!!!!! To people commenting: All of the retards that don't understand the video and that it's not mine, and com...
Gears of War - Mad World (Extended Version) **READ THIS BEFORE COMMENTING!(v.5)** [Updated.. AGAIN...] After seeing the latest Gears of War trailer, I made this "extended version" of it. This ...




Search This Site:










how-to put data from a db into (for example) a session

for each...

which is $_request[variable] similar contol in asp.net

creating a ftp access

retriving data from db and parsing

how can i use arrays like $_post[] or $_get[] in asp.net ?

convert php script to asp.net

from php to asp ,

can any one help me translating this php code to aspx?? =)

classes (extended)

code from perl to asp.net

checking check boxes

php style includes

custom error page

commenting

the equivilant of $_session()

how to include a file from an external server in an asp page

(hopefully) simple conversion needed

php class vs. asp.net/c# class

passing variables from asp.net to php via http get (variable with chinese characters)

ternary operator + string concatenation

mysql_insert_id...equiv in asp.net

dynamic php include to c#

phalanger: php for .net

include files en asp net

is asp.net overkill?

associated arrays => hashtable ?

http_get is asp

concatenating an iterator onto a string

migrating a php bot check application for flash to asp.net !!! seo !

  Privacy | Contact Us
All Times Are GMT