How do I create an HTM file and have it display ASP values

  • Thread starter Thomas B. Anger
  • Start date
T

Thomas B. Anger

I wrote a simple Men's Breakfast entry form for my church and it stores the
results tab delimited separated by "". Something like 4 fields. The file
is called mensbreakfast.txt

I am trying to write a simple page in frontpage so I can have the titles of
the fields then also have the actual stored values show up on it.I am using
frontpage and figured it should be easy, but I cannot find what
utility/routine I should use.
 
E

Evertjan.

Thomas B. Anger wrote on 04 apr 2004 in
microsoft.public.inetserver.asp.general:
I wrote a simple Men's Breakfast entry form for my church and it
stores the results tab delimited separated by "". Something like 4
fields. The file is called mensbreakfast.txt

Please show us exactly what format you mean.

"one" "bacon-and-eggs"
"two" "corn-flakes"

?
I am trying to write a simple page in frontpage so I can have the
titles of the fields then also have the actual stored values show up
on it.I am using frontpage and figured it should be easy, but I cannot
find what utility/routine I should use.

Nothing in frontpage is "easy", use a text editor instead.

==============

There are roughly two ways in ASP to read a .txt file

1 Read it row by row and use ASP vbscript to parse your data on a line
<http://www.aspfaq.com/show.asp?id=2039#read>

2 Use a Jet database connection to the .txt file, a bit of a overkill?
<http://www.able-consulting.com/MDAC/ADO
/Connection/ODBC_DSNLess.htm#ODBCDriverForText>
 
L

ljb

Thomas B. Anger said:
I wrote a simple Men's Breakfast entry form for my church and it stores the
results tab delimited separated by "". Something like 4 fields. The file
is called mensbreakfast.txt

If everyone is using IE check out the Tabular Data Control (TDC) installed
with the browsers since IE4. It will read a text file and populate an html
table. It also allows you to build in client side sorting of the table and
pagination.
http://msdn.microsoft.com/library/d...abase/tdc/tabular_data_control_node_entry.asp

LJB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top