473,508 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Page Generator

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
Aug 23 '07 #1
6 1428
Look at Request.QueryString

Tom

"Luke Davis" <lu**@gorealco.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>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


Aug 23 '07 #2
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

"Tom Libby" <tl****@bigblue-usaNOSPAMNOVIRUS.comwrote in message
news:OY*************@TK2MSFTNGP06.phx.gbl...
Look at Request.QueryString

Tom

"Luke Davis" <lu**@gorealco.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>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



Aug 23 '07 #3
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" <lu**@gorealco.comwrote in message
news:OB**************@TK2MSFTNGP02.phx.gbl...
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

"Tom Libby" <tl****@bigblue-usaNOSPAMNOVIRUS.comwrote in message
news:OY*************@TK2MSFTNGP06.phx.gbl...
>Look at Request.QueryString

Tom

"Luke Davis" <lu**@gorealco.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>>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




Aug 23 '07 #4
ok thanks

"Smithers" <A@B.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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" <lu**@gorealco.comwrote in message
news:OB**************@TK2MSFTNGP02.phx.gbl...
>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

"Tom Libby" <tl****@bigblue-usaNOSPAMNOVIRUS.comwrote in message
news:OY*************@TK2MSFTNGP06.phx.gbl...
>>Look at Request.QueryString

Tom

"Luke Davis" <lu**@gorealco.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl.. .
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




Aug 24 '07 #5
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" <lu**@gorealco.comwrote in message
news:OO**************@TK2MSFTNGP03.phx.gbl...
ok thanks

"Smithers" <A@B.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>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" <lu**@gorealco.comwrote in message
news:OB**************@TK2MSFTNGP02.phx.gbl...
>>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

"Tom Libby" <tl****@bigblue-usaNOSPAMNOVIRUS.comwrote in message
news:OY*************@TK2MSFTNGP06.phx.gbl...
Look at Request.QueryString

Tom

"Luke Davis" <lu**@gorealco.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl. ..
>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
>
>




Aug 24 '07 #6
Excellent, I was searching for that newsgroup. Thank you.
"Smithers" <A@B.comwrote in message
news:e%****************@TK2MSFTNGP04.phx.gbl...
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" <lu**@gorealco.comwrote in message
news:OO**************@TK2MSFTNGP03.phx.gbl...
>ok thanks

"Smithers" <A@B.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>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" <lu**@gorealco.comwrote in message
news:OB**************@TK2MSFTNGP02.phx.gbl...
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

"Tom Libby" <tl****@bigblue-usaNOSPAMNOVIRUS.comwrote in message
news:OY*************@TK2MSFTNGP06.phx.gbl...
Look at Request.QueryString
>
Tom
>
"Luke Davis" <lu**@gorealco.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl.. .
>>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
>>
>>
>
>




Aug 24 '07 #7

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

Similar topics

9
2669
by: Francis Avila | last post by:
A little annoyed one day that I couldn't use the statefulness of generators as "resumable functions", I came across Hettinger's PEP 288 (http://www.python.org/peps/pep-0288.html, still listed as...
17
2407
by: Andrae Muys | last post by:
Found myself needing serialised access to a shared generator from multiple threads. Came up with the following def serialise(gen): lock = threading.Lock() while 1: lock.acquire() try: next...
45
2979
by: Joh | last post by:
hello, i'm trying to understand how i could build following consecutive sets from a root one using generator : l = would like to produce : , , , ,
1
3227
by: bayouprophet | last post by:
Cant get menu script to to put linked page in the same frame. I am new to Java and I am wondering what am I doing wrong? below are my java applet file, frame.html file, and my text file and one...
12
4152
by: enak | last post by:
I have found some code that shows how to convert an html form to Word. The message said to simply put the following in the Page_load: Response.ContentType = "application/ms-word"...
2
1629
by: Marcelo | last post by:
Hi guys, I'm using the following code to send values from one page to another, but seems to me, that the event Page_Load in the receiving page never fires. Why? This is the code: Thanks ...
5
15803
by: David Elliott | last post by:
I need a control on a Web Page that can accept an HTML Document and will display it. Any help would be appreciated. Thanks, Dave Here is what I was trying...
6
1298
by: Roy Chastain | last post by:
I have the following simple aspx page hosted on a Win2k server with version 1.0 of the framework <%@ Page Language="C#" debug="true" %> <script runat="server" language="C#"> void Page_Load...
4
3700
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
1
1876
by: Brock | last post by:
First note that I am using Framework 1.1. I have an .aspx page that is displaying a list of employees, but only the Employee Number, First Name, Last Name, and Title. It is working great. I...
0
7225
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
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7385
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...
1
7046
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
5629
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,...
1
5053
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...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.