Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 24th, 2004, 05:36 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default HtmlEncode method of Server object

HtmlEncode method of Server object to encode harmful character into their display equivalent. I have only seen this example in C#. Can I use in VB.NET?

Can VB.NET do all the things C# can or are there limits?

THanks.

 
Old June 24th, 2004, 07:00 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

yes VB.NET do all the things C# than can do..

Om Prakash
 
Old June 27th, 2004, 09:58 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

...with a few minor exceptions.

The example in C# should be identical in VB.NET.

VB.NET and C#.NET are both .NET compliant languages and use the same class libraries. There are things VB.NET can do using the Microsoft.VisualBasic namespace which are mostly a lot of functions that come from previous versions of VB. This is to simplify converting code and maintain some backward functionality. I personally try to stay away from that namespace because most everything you want to do you can do with the standard .NET functionality under the System namespace.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Method reffering to an object beccali JSP Basics 1 March 23rd, 2007 07:24 AM
Object Rexx - Method Not Found ALFisher Other Programming Languages 0 September 7th, 2006 08:55 PM
Referencing the object that invoked a method benr Classic ASP Professional 0 March 12th, 2006 01:55 PM
HtmlEncode method of Server object bekim C# 4 June 27th, 2004 01:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.