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 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
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
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
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
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 > >
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 >> >> > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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 :
, , , ,
|
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...
|
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"...
| |
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
...
|
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...
|
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...
|
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...
|
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...
|
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,...
| |
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...
|
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...
|
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...
|
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,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 ...
|
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...
| |