Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional 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 September 15th, 2004, 11:38 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Value in Querystring not being passed

I'm trying to pass a db record to another .aspx page via a querystring. The record in the db table looks something like this \\blah\blah\blah. The value that gets passed looks like this \blahblahblah. So basically the \ is not getting passed. Please HELP! Thanks in advance

Here's what my querystring looks like:
Code:
    <asp:Hyperlink runat="server" Width=150 Font-Size=8 Text="Delete Restricted Files" 

    NavigateUrl='<%# "Javascript:var PopUpWin = window.open(""deletefiles.aspx?id=" & Server.UrlEncode(Container.DataItem,"unc_path") & "&username=" & DataBinder.Eval(Container.DataItem, "username") & ""","""",""status=no,width=400,height=100"")" %> ' ID="Hyperlink1"/>
  </ItemTemplate>


 
Old September 15th, 2004, 10:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

This is a classic ASP forum. You would better post that under ASP.Net forum here for better response.

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old September 16th, 2004, 07:15 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Use \\ between path separators, and \\\\ at the beginning of the server location.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
sessions not being passed Chapter 2 akaplan BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 6 June 27th, 2007 03:28 PM
Objects are always passed by reference or value? deb_kareng C# 2 November 2nd, 2006 03:53 AM
Querystring problem the \ character not passed. u_heet General .NET 1 September 16th, 2004 11:25 AM
wrong passed parameter apek PHP How-To 1 January 11th, 2004 01:08 PM
All My Checkboxes are passed as "on", whether or n WebDevel Javascript How-To 1 December 9th, 2003 10:40 AM





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