473,663 Members | 2,719 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 1431
Look at Request.QuerySt ring

Tom

"Luke Davis" <lu**@gorealco. comwrote in message
news:%2******** ********@TK2MSF TNGP03.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.asp x"
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****@bigbl ue-usaNOSPAMNOVIRU S.comwrote in message
news:OY******** *****@TK2MSFTNG P06.phx.gbl...
Look at Request.QuerySt ring

Tom

"Luke Davis" <lu**@gorealco. comwrote in message
news:%2******** ********@TK2MSF TNGP03.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******** ******@TK2MSFTN GP02.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.asp x"
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****@bigbl ue-usaNOSPAMNOVIRU S.comwrote in message
news:OY******** *****@TK2MSFTNG P06.phx.gbl...
>Look at Request.QuerySt ring

Tom

"Luke Davis" <lu**@gorealco. comwrote in message
news:%2******* *********@TK2MS FTNGP03.phx.gbl ...
>>>I have a custom template in Visual Web Developer that has the same basic
informatio n 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******** ********@TK2MSF TNGP03.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******** ******@TK2MSFTN GP02.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.asp x"
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.asp x

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****@bigbl ue-usaNOSPAMNOVIRU S.comwrote in message
news:OY******* ******@TK2MSFTN GP06.phx.gbl...
>>Look at Request.QuerySt ring

Tom

"Luke Davis" <lu**@gorealco. comwrote in message
news:%2****** **********@TK2M SFTNGP03.phx.gb l...
I have a custom template in Visual Web Developer that has the same basic
informati on 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.publi c.dotnet.framew ork.aspnet

-HTH
"Luke Davis" <lu**@gorealco. comwrote in message
news:OO******** ******@TK2MSFTN GP03.phx.gbl...
ok thanks

"Smithers" <A@B.comwrote in message
news:%2******** ********@TK2MSF TNGP03.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******* *******@TK2MSFT NGP02.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.asp x"
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.as px

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****@bigbl ue-usaNOSPAMNOVIRU S.comwrote in message
news:OY****** *******@TK2MSFT NGP06.phx.gbl.. .
Look at Request.QuerySt ring

Tom

"Luke Davis" <lu**@gorealco. comwrote in message
news:%2***** ***********@TK2 MSFTNGP03.phx.g bl...
>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
>systematic ally 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%******** ********@TK2MSF TNGP04.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.publi c.dotnet.framew ork.aspnet

-HTH
"Luke Davis" <lu**@gorealco. comwrote in message
news:OO******** ******@TK2MSFTN GP03.phx.gbl...
>ok thanks

"Smithers" <A@B.comwrote in message
news:%2******* *********@TK2MS FTNGP03.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
technologie s (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****** ********@TK2MSF TNGP02.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.asp x"
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.asp x

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****@bigbl ue-usaNOSPAMNOVIRU S.comwrote in message
news:OY***** ********@TK2MSF TNGP06.phx.gbl. ..
Look at Request.QuerySt ring
>
Tom
>
"Luke Davis" <lu**@gorealco. comwrote in message
news:%2**** ************@TK 2MSFTNGP03.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
>>systemati cally 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
2682
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 open, even though it's at least a year old and Guido doesn't seem very hot on the idea). I'm not too sure of its ideas on raising exceptions in generators from outside (although it looks like it might be convenient in some cases), but being able...
17
2426
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 = gen.next() finally:
45
3025
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
3246
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 of my link file that should load next to the menu on the same page. And Thank You in advance. Here is my menu applet: <html>
12
4161
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" Response.AddHeader("content-disposition", "inline; filename=BP_CaseStatus.doc") Now all I should have to do is create the page just like I would if I were going to display it in the browser.
2
1634
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
15810
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
1306
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 (object sender, System.EventArgs e) { Response.Write("value of email_return is " + ASP.global_asax.EmailReturn); } </script> <HTML>
4
3709
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 file via some editable controls such as text boxes , option boxes etc. how can i implment this , should i use another xslt file with <INPUT> controls . if so how can i save the result back using the asp.net
1
1878
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 recessed it in a <Div></Divto allow scrolling of just the data, not the page. What I need to do is place a DataList (also in a <Div></Divto allow scrolling of just the data) to the right of the Datagrid to show 40 Employee Detail fields (listed top to...
0
8768
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8547
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7368
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
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 we have to send another system

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.