Is there a way to have an asp page displayed with all the data from a db but not truly getting the data from the data base.
I want to perform updates to the data base and not have them "publish" untill I say go. I figured one way to do this is to have two tables (one live and the other pre-production) of the page and just copy the preproduction table the live table when ready. But, I read in some search engine optimization artcle that there is a way to basically have a pure html version of an asp db driven page so the search bots do not ignore it. Does anyone know of something like this?
what i want to do is create an image gallery, that when u click on a picture it opens in a pop up with the images caption and name there also. I've stored the captions and image names in a database - images.mdb table - Images
I just need a page now that sorts it all out to display the correct image, caption and title in the pop up. The images are stored in folder images and the database in the website root directory.
i've read a couple of articles on various websites, and played with the image gallery wizard on Frontpage but the websites dont explain my problem, and i cant adapt the gallery on frontpage. I'm a bit of a novice in ASP so I would really appreciate it if you could some how make the bits of the script I need to change standout.
I am trying to create a URL from a list of names from a database...it showing up blank. Trying to pass ID and Name as parameters too. the code I tried is below, thanks in advance.
NAMES.Open() Names.MoveFirst Response.Write "<TABLE Border='1'>" Do While NOT NameS.EOF %> <a href="access.asp?intID=<%Response.Write(Names("ID")) %>&strName=<%Response.Write Server.URLEncode(Names("Name"))%>"> </a>
My client has 35 domains (web addresses) that they want to host on a Windows 2K box with IIS 5. They want one application built using ASP and SQL server, hosted somehow on the IIS so that it appears as the same application for each domain. The end user of each domain will actually be using the same application.The head of each of the 35 domain, or the jr. web master of each domain should be able to cutomize the look of the each of their domain. This customization feature would be built into the ASP application. Things that can be changed would be some text, color of text, size and color of input boxes. This application will be similar to some of the eCommerce sites that have a web interface for their merchants to be able to modify their individual sites. Sort of selecting and modifying templates. They want 1 application so any changes and update of the application will reflect on all domains.My question is how do I start designing this? Where can I get info on this project, any opensource stuff I can look at? Do I incorporate XML anywhere?The domains will be accessing the same DB, how do I minimize DB trips?
I have found some code on the net and been given permission to use it. However I wish to connect this code to a SQL Server database, so what would I use? I am mainly an ASP/HTML/JS user but it will not let me use the standard VB script on a .xml page. How do I connect my XML to the database?
I was hoping to create a page that would display a larger image if a user wanted to get a better look at a thumbnail on my site. I understand that I need a small image and a large image to start off with. The bit I'm interested in is having a designed page for the larger image to be displayed in, not just a plain white page - I'm hoping to have a "Close Window" button on it. Can I hard code the bit after the ? in my URL for each image? Is that they best way of doing it? Does it need to be on a Form?
I just got in charge of a weekly online magazine. I was wondering if there are any webmasters out there who might recommend a good ASP driven CMS for this task, better if free.
I am looking for info and maybe an example on a database driven dual drop down. I need the second drop down populated by the selection of the first drop down.
when doing a dynamic site such as this, how does one handle the articles? is the whole article dropped into the db? or does it sit somewhere else and the db just references it?
i'm going to convert a large static site over to asp this summer and am starting to plan the architecture and i haven't really been able to find the answer.
I have 3 websites and make use of free counters provided by other web hosting companies to count the no of hits. Now I want to install a multiple-user databased driven asp counter (with initial value setting) in one of my sites to provide the statistics. I try to use the google search to look for a free script but to no avail. Anyone know of a free asp script that I could use for this purpose?
I have a flash image in my asp page. In the left navigation i have some names say limestone,clay,granite etc. My problem is that when i click the limestone i should get some identity value in my asp page for suppose id=limestone for limestone, similarly for clay and granite. i.e, for clay i should get id=clay in my asp page.
Does anyone know where I can find a free simple script to create a search engine using Access Database backend and will allow the user to type in a word (not a using drop down list) and it will search the table.
My client has an annual calendar of events consisting of a record for each event, key field is the event date saved as a date type field. They would like the display to start with the current month, list to the end of the year then start the beginning of the year and list up to the current month.How does one retrieve data based on date? I guess I'd like something like :
SELECT * FROM EVENTS WHERE [month is greater than or equal to the current month] ORDER BY Date
Then :
SELECT * FROM EVENTS WHERE [month is less than the current month] ORDER BY Date
What is the syntax for the month bits between the []?
I always heard the term "data/database driven programming" model in ASP database, SQL programming, and web programming circles. But I don't quite sure what does it mean? Does it mean the web software's responds are based on data request from the user? Just like in Windows, we call it "event-driven programming" model because the windows program's responds based on user's responses? That's why we call "data driven programming" ?
I want to develop a site with the following features:
1. A movie library (DVD's, VCD's etc) 2. A database 3. search by category, title, actor, etc 4. membership signup 5. tracking system for lent out titles
Now am new to ASP just dived in am using Visual web developer express edition. Please point me in the right direction on the best way to do this. Am self taught kind a person and will not take me a long time to get the hang of it once in the right direction. Am not conversant with Visual basic or C#.
Ive created a site using ASP and an Access database. At the moment the database is unprotected, and I haven't used any usernames or passwords to access the database. Now that development of the core site is almost complete, i want to secure the database.
I'm currently in the middle of the most advanced ASP project I have ever worked on, and was wondering if I can get any feedback on what anyone thinks about it so far (or suggestions for improvement later, etc.)
Basically, it will be a single core set of ASP files, that will allow anyone to set up a webpage in minutes by simply selecting a pre-developed site template, and pre-developed site plugins (a plug-in being anything from a menu, to a CC processing tool, etc.), so that user's can simply "manage" their site look/use rather than program everything over and over again. In the end there will even be an import to instantly convert any existing site.
Developers can build templates and plug-ins at will, and will be interchangeable on the site with the click of a link or button.
This project is planned to be open source but is still months away from completion, but to check out a sample of how it basically will work, we are currently testing it at URL.
I want to create a breadcrumb trail on a site, but instead of being generated by cookies or a directory structure, it needs to be database driven. My website details hundreds of products, each belonging to a category. Each category can belong to a parent category, and so on.
My site will feature master/detail pages, and both need to feature a trail, e.g.
Books > Hobbies > Sport > Football
The master page will list all items within the current category, and the trail will allow the user to click to any parent category for a wider listing.
The detail page will show the item detail, along with a full trail to the category/parent categories it belongs to.
The category structure will grow over time, and different branches will have different number of levels so it needs to be maintainable.
I entered a whole year's worth of events. I want to display a range of events which change according to the date, so only 2 weeks later and one week earlier are displayed on the main page.
How did other people deal with similar issues? I know I can set a range mathematically speaking (date + 14 AND date -7). But did other people encounter other issues? How did you solve them?
I have an ASP page with a header (title) and a long image. I get the image name from the database and write out the image's "src" attribute using response.write. Easy stuff. But when I print the page using Internet Explorer, the header prints on the first page, but the image shows up on the second page. (the image is too large to print on one page) Is there any way to force the image to start printing right underneath the header and not go to the second page? I've looked into CSS to see if I can force this somehow. No luck. If I make the image smaller, it prints on first page. But I don't want to do that.
I have a client who has had a ASP site with an Access database for several years. It stores information for the used cars on his lot. I have stored text in the database that points to the location of the image for each record. Each record will have a thumb image that is supposed to display in a list of vehicles available then the user can select an item from this list and a new page displays with the information and the regular size image. So far everything has worked fine exept for the display of the images which are stored in a separate directory called veh-photos. All I get are image place holders. I am using Dreamweaver 2004 and and Access 2000 for the database.
1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page.
2.This '.tif' type image can be shown better with 'Kodak Image Control'.
3.To have this 'Kodak Image Control' on my code page I just add it's ..ocx to tool box and then drag it from 'Toolbox' to the page.
4.Now after dropping this control to the code it's type is getting changed to 'object' instead of type 'ImgEdit'(and I think this is the reason I don't get correct result).
5.On one button's 'Onclick' event I'm calling a javascript function with which I'm setting a 'Path'and'Display' property of a control.
6.And want to show a image at location -- '..MFTDRCMF919685173-62.tif' which get shown in new browser window but could not get shown in that particular control. That means the path is correct, then what is the problem?
For better understanding of problem I'm pasting a following code which I've tried up till now...... .................................................. <%@ Language=VBScript %> <% OPTION EXPLICIT %>
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<SCRIPT LANGUAGE=javascript> <!-- function showpic() { var path; path = document.frmtif.path.value; alert(path); document.frmtif.ImgEdit1.Image =path; document.frmtif.ImgEdit1.Display; window.parent.self.open(path); }
I am creating a dynamic ASP VBScript page, which gets data from an Access database.
In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database.
I think what I am trying to get to is the following:
If file exists (using URL from database to get location of image file) then display image using the url from the database as the image source else display default image - hardcoded in program endif
I have had a go and come up with the attached but I get an error with my if statement...
I'm working on a project where I'm suppose to upload a image to a server. The uploading works fine but when I want to change the image I uploaded to another image I can't get the filepath of the old image to show in my "filefiled"....is it possible to set a "value" where I can retrieve a filepath in a form if the input type is "file"?
This worked fine for enlarging my images until i put it onto a secure server, anyone know how i can fix it ??? just comes up with the standard box with a red cross in it .. and the url when i click image properties says: http://url/images/<%=request.querystring( which is only part of the code)
I'm looking for a simple way to merge an image into another image.What i have is a screenshot uploader, and i want to make it so that when they upload the SS, the script will automatically merge a small copyright type image onto the bottom right of the picture.
I created a web page from Excel2000, using "Save as web page..."...Publish function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.
How can get the data on the excel file using ASP from server side? For example, the value of Cell(1,2), Cell(2,3)....
What I want to be able to do is create a user control that will display an entire page page within it. Does anyone know how to do this or better yet have any same code?