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

› Install AJAX On Machines Running Visual Studio 2005

› Creating Pretty Popups Using AJAX

› Simple ASP Image Resize Function

› SQL Server Performance Counters

› ASP.Net Interview Questions And Their Answers

› Encode Url using ASP

› Difference Between DataGrid and GridView in Asp.Net

› Select Specific Value WithIn Drop Down List Or Radio Button List

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
 
› Find which control caused a postback - Asp.net

› ADO.NET Data Classes

› Application Object in Asp

› How My Page Rank Went From 0 To 5 In One Update

› Simple ASP Image Resize Function

› Server Variables in ASP

› Read and display a text file in Asp.net

› MySQL Join Tutorial

› Session Object in Asp

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

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