473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Write information form a comma separated text file onto an ASP pag

My task seems so simple, but I can't seem to determine how to do what I want
to do.

I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page to reload every
10 seconds so that any updates to the text file would be relfected on the web
page. Thanks in advance
Jul 22 '05 #1
8 2673
which part is the issue?

As for reading the file, how far have you gotten? Opening it? Reading it
all? Reading a line?
As for refreshing, have you tried? used the meta refresh?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Roundy" <Ro****@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com...
My task seems so simple, but I can't seem to determine how to do what I
want
to do.

I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page to reload
every
10 seconds so that any updates to the text file would be relfected on the
web
page. Thanks in advance

Jul 22 '05 #2
On Mon, 31 Jan 2005 15:10:12 -0600, "Curt_C [MVP]"
<software_AT_darkfalz.com> wrote:
which part is the issue?

As for reading the file, how far have you gotten? Opening it? Reading it
all? Reading a line?
As for refreshing, have you tried? used the meta refresh?


I got the feeling he hadn't started.

--
Iain Norman | http://www.eliteforum.org
Jul 22 '05 #3
On Mon, 31 Jan 2005 13:01:07 -0800, Roundy
<Ro****@discussions.microsoft.com> wrote:
My task seems so simple, but I can't seem to determine how to do what I want
to do.

I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page to reload every
10 seconds so that any updates to the text file would be relfected on the web
page. Thanks in advance


Use the FSO(File System Object) to open the file and read it in.

Parse it in whatever way takes your fancy.

Present it to the browser.

Stick a 10 second meta refresh in the head.

--
Iain Norman | http://www.eliteforum.org
Jul 22 '05 #4
How do I write a meta refresh.

"teknohippy" wrote:
On Mon, 31 Jan 2005 13:01:07 -0800, Roundy
<Ro****@discussions.microsoft.com> wrote:
My task seems so simple, but I can't seem to determine how to do what I want
to do.

I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page to reload every
10 seconds so that any updates to the text file would be relfected on the web
page. Thanks in advance


Use the FSO(File System Object) to open the file and read it in.

Parse it in whatever way takes your fancy.

Present it to the browser.

Stick a 10 second meta refresh in the head.

--
Iain Norman | http://www.eliteforum.org

Jul 22 '05 #5
Gazing into my crystal ball I observed =?Utf-8?B?Um91bmR5?=
<Ro****@discussions.microsoft.com> writing in
news:CB**********************************@microsof t.com:

"teknohippy" wrote:
On Mon, 31 Jan 2005 13:01:07 -0800, Roundy
<Ro****@discussions.microsoft.com> wrote:
>My task seems so simple, but I can't seem to determine how to do what
>I want to do.
>
>I have a text file that has two lines in it, the first line gives
>item labels, my second line gives values for those labels. I would
>like to use ASP to present this data on a web page. I also want the
>page to reload every 10 seconds so that any updates to the text file
>would be relfected on the web page. Thanks in advance


Use the FSO(File System Object) to open the file and read it in.

Parse it in whatever way takes your fancy.

Present it to the browser.

Stick a 10 second meta refresh in the head.

How do I write a meta refresh.


Google <http://www.google.com/search?q=meta+...d=opera&num=50
&ie=utf-8&oe=utf-8> brought up 762,000 results for meta refresh.
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #6
exactly.... which is why I post the way I do sometimes :}
Make the user TRY first... that's my theory, otherwise we'd be writing it
for em, and if that's the case I want to get PAID

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"teknohippy" <an******@me.com> wrote in message
news:2i********************************@4ax.com...
On Mon, 31 Jan 2005 15:10:12 -0600, "Curt_C [MVP]"
<software_AT_darkfalz.com> wrote:
which part is the issue?

As for reading the file, how far have you gotten? Opening it? Reading it
all? Reading a line?
As for refreshing, have you tried? used the meta refresh?


I got the feeling he hadn't started.

--
Iain Norman | http://www.eliteforum.org

Jul 22 '05 #7
On Mon, 31 Jan 2005 13:01:07 -0800, Roundy
<Ro****@discussions.microsoft.com> wrote:
My task seems so simple, but I can't seem to determine how to do what I want
to do.

I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page to reload every
10 seconds so that any updates to the text file would be relfected on the web
page. Thanks in advance


That's possibly not the best method, but if you're desperate:

http://www.able-consulting.com/MDAC/...crosoftJetText

From there, treat it like a database.

Refresh:

<HEAD>
<META HTTP-EQUIV="refresh" CONTENT="10"
</HEAD>

Jeff
Jul 22 '05 #8
On Tue, 1 Feb 2005 13:20:55 -0600, "Curt_C [MVP]"
<software_AT_darkfalz.com> wrote:
exactly.... which is why I post the way I do sometimes :}
Make the user TRY first... that's my theory, otherwise we'd be writing it
for em, and if that's the case I want to get PAID


Sometimes I internally struggle with the decision over whether to
introduce their browser to google, or a bat to their face :)

If you know what I mean :)

<grins>

I

--
Iain Norman | http://www.eliteforum.org
Jul 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Logical | last post by:
I have a form which houses basic inputs, as well as a few multiple select forms. I need to parse all the 'values' which are in this multiple select form (it gets manipulated dynamically client...
6
by: chuck clark | last post by:
Hi, I understand that for security and other reasons that javascript does not support writing/reading to text files. I am looking for a way that will however. This is what i am trying to do. I...
2
by: pesso | last post by:
I have a string that contains the following: string s = "130,41,43,178,41,17,6,78,244,35,202,144,115"; They are comma separated byte numbers, and I need to initialize my byte array with them....
4
by: Christian Blackburn | last post by:
Hi Gang, I've created a text-based file format. Once I've generated the text to save the file is as it should be in the debug window. However once I write it to a file a " is added to the...
5
by: Just Me | last post by:
Using streams how do I write and then read a set of variables? For example, suppose I want to write into a text file: string1,string2,string3 Then read them later. Suppose I want to write...
11
by: muttu2244 | last post by:
hi everybody i want to write a set of values to a file from python. For ex:: the fields name will "comp name", "ip addr", "mac addr" etc. And below all these fields i ll have the values for...
3
by: mahe23 | last post by:
All, How do One convert a comma separated column from a text file into rows in oracle. I have a scenario where the list of comma separated values changes dynamically. It is like: abc, ttt,...
1
by: nribeck | last post by:
I have a very simple question, but I am rather inexperienced in C so I can't figure it out. I have a bunch of comma separated files, and each field is in quotation marks. Individual records are...
1
by: pjsteinfort | last post by:
Hi all just looking for some advice on the best way to read a text file and fill in a web form with the each record in that file? We need to get about 1000 records into a database and the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.