Tips Station Asp.net Article Seo Articles
Tutorials Code Samples
›  Home
›  Mission
›  About us
›  Contact Us
›  Feedback
›  Terms & Condition
Asp Articles
IT Solutions
 
› ASP.NET

› Programming Tips

› Ajax

› Asp

› ADO.NET

› Databases

› SEO

› CSS And Designing

› Php

 
Most Viewed Articles
 
› Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

› Change theme dynamically without page refresh in ASP.NET

› Simple ASP Image Resize Function

› Install AJAX On Machines Running Visual Studio 2005

› ASP.Net Interview Questions And Their Answers

› Creating Pretty Popups Using AJAX

› Encode Url using ASP

› SQL Server Performance Counters

› .NET Data Access Performance Comparison

› UpdatePanel control in Asp.net Ajax

more...
 
 
Home> Programming Tips
 
Encode Url using ASP
 
While passing variables as an URL's querystring, you should need to encode the string. All special characters like space must be written in adress bar in a form for browser.

Without encoding Example :


<a href="search.asp?query=all news in 2006">List all news in 2006</a>


If you try this link, there would be some missing queries in your SQL command. But if prefer to use URL Encode function, all querystring will be encoded in a safe mode.

Encode Example :

<a href="search.asp?query=<%Server.URLEncode("all news in 2006")%>">List all news in 2006</a>
 
 
Vrp Technologies
 
Serversea Hosting
 
 
Latest Articles
 
› Sending SMS With PHP

› MySQL Join Tutorial

› Make An RSS Feed Using PHP

› Intro To Object: Option Variables

› Design An Online Chat Room With PHP And MySQL

› Create Tell A Friend Script With HTML & PHP

› Benchmark And Optimize PHP Script Speed

› What Kind of DBA Are You?

› SQL Server Performance Counters

› SQL Server Performance Tips

more...
 
Random Articles
 
› Top 10 Best Practices for Production ASP.NET Applications

› Session Object in Asp

› Clear all Cached objects in Asp.Net

› Search Engine Friendly Web Design - 3 Ways To Use CSS

› How to crop an Image in Asp.Net

› Change theme dynamically without page refresh in ASP.NET

› Choosing a Web Site Hosting Provider for an ASP.NET Site

› Design Considerations for Cross Page Post Backs in ASP.NET 2.0

› What Kind of DBA Are You?

› ASP.Net Tips and Tricks

more...
 
Home Mission About us Contact us Feedback Terms Conditions
2008 © Copyright TipsStation. All rights reserved.