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 January 29th, 2006, 01:07 AM
Authorized User
 
Join Date: Sep 2003
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
Default Send code to server and getto=ing back result

Hi,

I am somewhat confused (whats new ?) I am using an ASP script that puts a table on screen after a query and I want to create a specialy configured packet at the server and have the server process it as ASP

A short version of the script output is shown below, I have spaced t
the lines out to make it more readable

after the heading settings it is basically a comma delimited file with inverted commas round Str values nad some brackets

File is Content.asp

var TABLE_CONTENT = [
['BR No', 'LNER No', '1946', 'PreGroup', 'Name','Builder','Build No.','Mth-','Yr Built','Mth-', 'yr Wdrn', 'code','last Shed', 'Mth-' ,'Yr Wdrn','Mth-' ,'Yr Cut', 'Fate', 'notes' ],

[,1708,3266,1708,"Gateshead Works","6.02","May-1902","Nov-1947","MID", "Middlesborough","circa-1947","Darlington Works",""],

[,1729,3269,1729,"Gateshead Works","9.02","Jun-1902","Jul-1947","MID", "Middlesborough","circa-1947","Darlington Works",""],

[0,3426,0,426,"Doncaster Works","1011","Sep-1903","Sep-1931","CLK", "Colwick","circa-1931","Doncaster works",""],

];

At present I am writing this code to the diretory where the script resides, but I need to send it to the server ?
I have not tried this sort of thing b4 and I am a bit Lost !

I think I may need a call of some sorts but What ?

Please someone clear my FOG

Topshed



 
Old January 30th, 2006, 12:56 AM
Authorized User
 
Join Date: Sep 2003
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Fog cleared

Thanks roy





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i write code to go back or undo sanderson Beginning VB 6 1 July 9th, 2008 05:10 PM
connect ing to sql 2005 twisted f8 Visual Basic 2005 Basics 1 September 13th, 2007 09:47 PM
Code running without any result jack123 SQL Server 2000 2 July 11th, 2007 05:02 PM
Please help my code is not giving me a result set yudee JSP Basics 0 September 20th, 2006 09:55 AM
"And" ing Regular Expression DizzieDazz BOOK: Beginning Regular Expressions 2 March 16th, 2005 12:25 PM





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