Web Page Generator

L

Luke Davis

I have a custom template in Visual Web Developer that has the same basic
information but a specific set of words need to be changed out, they are
labels, for example the city name. I have a database in SQL2005 with one
column of all the cities that need their own web page. Is there already a
free tool or guide to making an app that will systematically go down that
list and generate a .aspx page for every row (city name) and deposit it into
a folder?

Or what I was going to do, was load variables into the URL, I know PHP this
can be done, but I'm new to ASP .NET, can I make the first page with a list
of cities, based off the sql database, that when clicked they will all go to
the same page and add that variable in the URL, then the page can pull that
variable out of the URL and fill the labels? I need it to be in the URL
so I get SEO credit for having different links.

Thanks

--
Luke Davis, MCSE: Security
DEM Networks - Senior Systems Architect
7225 N First, Suite 105
Fresno, CA 93720
Office: 1 (559) 439-1000
Fax: 1 (866) 640-2041
www.demnetworks.com
 
L

Luke Davis

That seems to only work with forms. Is it at all possible to make a certain
piece of text give that value. i.e.

First page we'll call "cities.aspx"
it is a simple list like this:

CALIFORNIA
============
Sacramento
San Fransisco
Monterey
Los Angeles

each of the cities would be links to the same page that we'll call
template.aspx

and if you click Sacramento it'll send
http://domain/template.aspx?city=Sacremento

and finally, can this still be done by drawing the city names from a
database?

Thanks
 
S

Smithers

Luke,

RE:
<< That seems to only work with forms >> (in reference to QueryString).

That isn't true. QueryString is independent of forms and even technologies
(php vs asp.net vs whatever). Querystring is [can be] part of any http
request. It is then up to the server-side technology (ASP.NET, PHP, etc) to
do something with the querystring value.

-S
 
L

Luke Davis

ok thanks



Smithers said:
Luke,

RE:
<< That seems to only work with forms >> (in reference to QueryString).

That isn't true. QueryString is independent of forms and even technologies
(php vs asp.net vs whatever). Querystring is [can be] part of any http
request. It is then up to the server-side technology (ASP.NET, PHP, etc)
to do something with the querystring value.

-S


Luke Davis said:
That seems to only work with forms. Is it at all possible to make a
certain piece of text give that value. i.e.

First page we'll call "cities.aspx"
it is a simple list like this:

CALIFORNIA
============
Sacramento
San Fransisco
Monterey
Los Angeles

each of the cities would be links to the same page that we'll call
template.aspx

and if you click Sacramento it'll send
http://domain/template.aspx?city=Sacremento

and finally, can this still be done by drawing the city names from a
database?

Thanks
 
S

Smithers

Your question really has nothing to do with the C# language. You might have
better luck taking your ASP.NET-related questions to:
microsoft.public.dotnet.framework.aspnet

-HTH


Luke Davis said:
ok thanks



Smithers said:
Luke,

RE:
<< That seems to only work with forms >> (in reference to QueryString).

That isn't true. QueryString is independent of forms and even
technologies (php vs asp.net vs whatever). Querystring is [can be] part
of any http request. It is then up to the server-side technology
(ASP.NET, PHP, etc) to do something with the querystring value.

-S


Luke Davis said:
That seems to only work with forms. Is it at all possible to make a
certain piece of text give that value. i.e.

First page we'll call "cities.aspx"
it is a simple list like this:

CALIFORNIA
============
Sacramento
San Fransisco
Monterey
Los Angeles

each of the cities would be links to the same page that we'll call
template.aspx

and if you click Sacramento it'll send
http://domain/template.aspx?city=Sacremento

and finally, can this still be done by drawing the city names from a
database?

Thanks



Look at Request.QueryString

Tom

I have a custom template in Visual Web Developer that has the same
basic information but a specific set of words need to be changed out,
they are labels, for example the city name. I have a database in
SQL2005 with one column of all the cities that need their own web page.
Is there already a free tool or guide to making an app that will
systematically go down that list and generate a .aspx page for every
row (city name) and deposit it into a folder?

Or what I was going to do, was load variables into the URL, I know PHP
this can be done, but I'm new to ASP .NET, can I make the first page
with a list of cities, based off the sql database, that when clicked
they will all go to the same page and add that variable in the URL,
then the page can pull that variable out of the URL and fill the
labels? I need it to be in the URL so I get SEO credit for having
different links.

Thanks

--
Luke Davis, MCSE: Security
DEM Networks - Senior Systems Architect
7225 N First, Suite 105
Fresno, CA 93720
Office: 1 (559) 439-1000
Fax: 1 (866) 640-2041
www.demnetworks.com
 
L

Luke Davis

Excellent, I was searching for that newsgroup. Thank you.


Smithers said:
Your question really has nothing to do with the C# language. You might
have better luck taking your ASP.NET-related questions to:
microsoft.public.dotnet.framework.aspnet

-HTH


Luke Davis said:
ok thanks



Smithers said:
Luke,

RE:
<< That seems to only work with forms >> (in reference to QueryString).

That isn't true. QueryString is independent of forms and even
technologies (php vs asp.net vs whatever). Querystring is [can be] part
of any http request. It is then up to the server-side technology
(ASP.NET, PHP, etc) to do something with the querystring value.

-S


That seems to only work with forms. Is it at all possible to make a
certain piece of text give that value. i.e.

First page we'll call "cities.aspx"
it is a simple list like this:

CALIFORNIA
============
Sacramento
San Fransisco
Monterey
Los Angeles

each of the cities would be links to the same page that we'll call
template.aspx

and if you click Sacramento it'll send
http://domain/template.aspx?city=Sacremento

and finally, can this still be done by drawing the city names from a
database?

Thanks



Look at Request.QueryString

Tom

I have a custom template in Visual Web Developer that has the same
basic information but a specific set of words need to be changed out,
they are labels, for example the city name. I have a database in
SQL2005 with one column of all the cities that need their own web
page. Is there already a free tool or guide to making an app that will
systematically go down that list and generate a .aspx page for every
row (city name) and deposit it into a folder?

Or what I was going to do, was load variables into the URL, I know
PHP this can be done, but I'm new to ASP .NET, can I make the first
page with a list of cities, based off the sql database, that when
clicked they will all go to the same page and add that variable in
the URL, then the page can pull that variable out of the URL and fill
the labels? I need it to be in the URL so I get SEO credit for
having different links.

Thanks

--
Luke Davis, MCSE: Security
DEM Networks - Senior Systems Architect
7225 N First, Suite 105
Fresno, CA 93720
Office: 1 (559) 439-1000
Fax: 1 (866) 640-2041
www.demnetworks.com
 

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

Similar Threads

Chart Recommendations 3
Opening Ports 3
adding a stored procedure 1
Datetime Question 2
request.querystring 4
Help with Datasets 4
Capture Web Page Source Code 5
How to get a file from a web page 1

Top