New to ASP

  • Thread starter Thread starter Josh
  • Start date Start date
J

Josh

I have a client that has a list of products on a page. Every time we have to
update the list we have to re arrange the blocks with the names of the
products. Is there a way in ASP to do this so that we can just add the name
and link into a file then it can dynamically create the page? Here is a
link to what we have now.

http://www.townsendchemical.com/labels.html

TIA
Josh
 
I assume you mean ASP.NET. When you mention the technology, make sure you
include the .NET because classic ASP is entirely a different beast.

In ASP.NET there are several ways of doing it. Since you mentioned that you
might want to save the file to disk, then the simplest might be to look into
using, simply put, the Xml Control. This control allows you to transform
and XML document using an XSLT.
 
In case he *doesn't* mean ASP.Net, he can find ASP help at
microsoft.public.inetserver.asp.db.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
what I was hopping to do is to have a text file with the names and there
links and then create the page from that text file with asp.net. I am not
sure if this is the way to go because like I said I am new to asp.net

TIA
Josh
 
Hi Josh,

You could store your products and their links in a database like MS
Access or SQL Server, but if you prefer to keep it simple and use a
text file then I'd suggest putting all your products' details into an
XML file. You can then load it into ASP.NET as an XmlDocument object
and process it to generate your links. Alternatively, you could use
an XSLT template to tranform the XML into the products HTML.

HTH,
Chris
 
Are ther any good tutorial sites that could show me how to work with
XmlDocument object?

Thank you
Josh
 

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

Back
Top