Retrieved Hyperlinks
I added a column to my Access database and defined it as hyperlink.
I added some URL in the fields and i was able to see the underline under each address.
In my code i added the following line :
Response.Write("<td align=right>" & oRS("info").Value & "</td></tr>")
(The hyperlinks defined in my database as info).
I'm able to see the hyperlink when i retrieve all other data but it appears as
#http://www...asp# and with no underline what is the reason and how can i change this ?
View Replies
ADVERTISEMENT
In retrieve among other data an emailaddress from an SQL table and put it in a tabel (see code below)
How can I make the email address an active mailtolink
greetz
edwin
<ItemTemplate>
<table border="0" width="100%">
<tr>
<td valign="top" width="115px">
<%# DataBinder.Eval(Container.DataItem, "User_name") %></td>
<td valign="top" width="180px">
<%# DataBinder.Eval(Container.DataItem, "User_Email") %></td>
View Replies
View Related
does anyone knows how i can layout items retrieved from db such as example from this online shop site . most items retrieeved from db such as Accesss are always in vertical layout.
View Replies
View Related
I haven't started to mess with this yet, but is it possible to store
.ASP source script in a Database field, then use ADO to get the string
from the field and then force the scripting host to interpret that
string from the database and flush it into the buffer for output to
the browser? I was thinking you'd have to use EVAL() on the string or
something...Anyone done this yet?
I was working with Vignette story Server a couple of years ago, and
all of the TCL source script and html is stored completely in the
database, only cached pages are in virtual directories.
View Replies
View Related
The link for the photos are requested from the server and so the photo
appears on screen. I can produce a long list by using the response.write ***
& "<br>" or whatever. but is it possible to have it start on the next line
after say 5 photos in a line. i.e. where each - is a photo
- - - - -
- - - - -
- - - - -
rather then
- - - - - - - - - - - - - -
or
-
-
-
-
etc.
View Replies
View Related
I'm attempting to read data written to a MySQL database and view it in the browser. I've searched the net for over 3 days and I've seen many posts that say it works great, but it's not working for me. The only thing that displays properly is a text file. Everything else is garbled. I desire to store & read PDF files though. Here's my code:
<%@ Language = VBSCRIPT %>
<% Option Explicit %>
<!-- #include file="dbConn.asp" -->
<!--#include file="adovbs.inc"--> ...
View Replies
View Related
Im doing a password retrieval page that is working fine, but it wont appear in the html page i want it to.
1)When i dont try and put it on any page the text appears no problemo on a white background.
2)When i attempt to put it on my designed page all that appears is my designed HTML page with none of this text. Code:
View Replies
View Related
I have a feedback form which asks someone to enter their personal details and then submits them to db. There are input, checkboxes and selection boxes on form.
Now I want to allow user to edit this form. When user clicks 'edit', I retrieve all the values from db and populate the text boxes.
What happens with the options and checkboxes. How can I get these to reflect what their values in db? Also I have some drop downs allowing user to select date of birth ie. day drop down, month drop down and year drop down. How do I show user the details we have for them if I'm using drop downs?
View Replies
View Related
I'm having problems retrieving certain images from my web server, such as, Dozier SrB9057.
The problem I'm having is w/, Jr., Sr., II, and III get the drift. How can I get rid of the space in between the last name and Sr?
Now, the Sr is included in the field along with last name.
Here's my code:
strSQL = "Select * from vw_licenseholder_PrimAddr where L_ID = 5940"
Set rs1 = objConn.Execute(strSQL)
ImagePath = "w:" ....
View Replies
View Related
Am storing images on a database and users query the database to retrieve the images. I want to add a zoom in and zoom out button that will enlarge and reduce the images depending on which button the user clicks.
View Replies
View Related
While trying to retrieve a large number of records, I would like to show a progress bar to indicate that the user are to wait. How can I do so?
View Replies
View Related
The user basically queries the database for some data, and I initially retrieve just part of the data matching the query...
I display the Primary Key as a hyperlink..and when the user clicks on a particular retrieved data..i want to display all the contents about that element alone on another new page...
The problem i am facing is that i do not know the syntax to use the onClick event within an ASP code:
View Replies
View Related
I managed to retrieve a table from a database and displays records on the browser using the ASP code below.
but I also want some of the retrieved record be clickable and editable so if a user decides to upadate a record it can be clicked and updated. there are two options either redirect to another page and the selected records will be displayed again to be edited or edit them on the same page,I m not sure how to make the selected records editable using the code below. Code:
View Replies
View Related
I have this dynamic array(shown below) that I need to match to values (1 - 10) that I am returning from the database via DSN connection object.
The values I need to match are on the same page (in their own table) but I am not sure how to match up the array indexes to these values. I want to be able to display the array result as part of or nested in another table. Code:
View Replies
View Related
I have an ASP Session where I add values on Page1 and then use them on Page2 e.g Session("newsid").
What I want to do is when I click on a specific link, clicking on the link adds a value to the Session and then redirects the user to a new page, but nothing I do seems to allow me to do this. The code where I want it to be done is as follows: Code:
View Replies
View Related
I posted awhile back about displaying line breaks in ASP pages from MS Access Database records which was solved very well with the use of a replace function. is there a replace function to display hyperlinks mixed in with regular text in a memo field? If so, could someone tell me what the code is?
I use this for line breaks:
Code:
MemoField = Recordset1.Fields.Item("ArtText").Value ' Field from database
MemoField = Replace(MemoField,chr(13) & chr(10), "<br>") ' build in html line returns
and then:
Code:
<p align="left"><%=MemoField%> </p>
View Replies
View Related
Can anybody help me understand why these two examples do not work? The database has www.domain.com in it.
<a href="http://<% rs('URL') %>"><% rs('URL') %> </a>
<a href="mailto: <% rs('e-mail') %>"><% rs('e-mail') %> </a>
My other question is how should I store hyperlinks in my database? I'm assuming text but should I add the http:// there as well?
View Replies
View Related
Is there any way to how to put hyperlinks in a (flex/hflexgrid)?
View Replies
View Related
Say for instance that I have 2 frames and I have code in one. That code is returning information from a database. In that database there are hyperlinks to images. Upon clicking that hyperlink how do I force the image into the other frame?
At present It opens appears to go to a new page, but everything is coded in one ASP page. So I have to click back to select another image? I want to be able see both the database and image so I dont have to go back and forth
View Replies
View Related
I need to format each row being returned in a recordset as
a hyperlink. One of the fields being returned is the
subject of a message that my hyperlink will show. When
the hyperlink is clicked then the ASP page loads further
message details of that link. Does anyone know how to do
this?
View Replies
View Related
<%
' Loop through the array holding the result set and display the data
For iCounter= varC1Begin to varC1End
Response.Write("<a href=prices.asp?manuf=" & arrResultSet(0,iCounter) & ">"
& arrResultSet(0,iCounter) & "</a><br>")
Next
%>
In the above Response.Write statement arrResultSet(0,iCounter) displays the
manufacturer just like it should.
However, within the hyperlink, if a manufacturer has 2,3, or more words, it
will only show the first word. Anything after the first space is ignored.
Why?
View Replies
View Related
I'm writing a company intranet site,and on the home page,I'd like there to be links to some of the software that the employees frequently use on their own computer.This will be the inducement to get them to use the intranet home page as their default home page, and visit it frequently.
For example a program which is under:
"C:Program FilesNow SoftwareNow Up-to-DateNUD.exe"
if I write that link into the hyperlink,it will not work,because the hyperlink also adds the url as a prefix to the link, so it will say
"http://www.url.com/C:Program FilesNow SoftwareNow
Up-to-DateNUD.exe"
View Replies
View Related
im currently trying to generate a list of links to files held within my database.The file itself is a pdf
Im currently using this code :
Code:
response.write "<A HREF='" & RS("file") & "'>" & RS("linkname") & "</A>"
and its giving me the error:
Microsoft VBScript runtime error '800a000d'
Type mismatch
/irtwebsite/welcome.asp, line 27
View Replies
View Related
I'm using Visual Web Developer Express 2005 to get me started - probably a bad idea I'm told. Anyhow, I've connected a drop-down list ('Components') to a column in a SQL DB, and, upon selection, the resulting gridview is being generated as I hoped (with the corresponding 'Applications').
However, I would like each of these resulting rows in my gridview to be "clickable" as a hyperlink so that I can display each of the applications details on another page. If someone could enlighten me as to whether/not this is even possible, and if so, how?
View Replies
View Related
Can anyone provide the code to hide hyperlinks (change to background colour?) if the files they link to do not exist?
View Replies
View Related
anyone know some good ASP code to go through a page and test the hyperlinks to make sure that they are valid. Couldn't find anything good yet, but if someone knows of anthing.
View Replies
View Related
I'm trying to excecute all the hyperlinks on a webpage one by one with a specific order automatically, any suggestions/helps on that?
when a link is executed (clicked), a popup comes up asking you to open or save the document, is there a way to by pass that? And save the file automatically into a specified location?
View Replies
View Related
I have a page which takes data in an HTML table, and exports it to an Excel file. It works fine, but I want several things about the spreadsheet to look different from the HTML version. Things like fonts and colors. I think I can use a style sheet for the latter, but I haven't figured out how to remove hyperlinks from some of the items. On the HTML page, the hyperlinks are useful, but I don't want the spreadsheet to have them.
So on my ASP page which builds the Excel file, I have this: ...
View Replies
View Related
I pull file paths from a database that point to files on our internal server and create links to them. For Explorer this works...
File://servername/file/path/filename.snp
But not for FireFox.
View Replies
View Related
I have a Submit button on a web page that runs the following hyperlink code below.
<p>
<a href="ProducsTotalBasket.asp?Remote_computer_name=<%=FP_FieldURL(fp_rs,"Remote_computer_name")%>&Committed=<%=FP_FieldURL(fp_rs,"Committed")%>">
<input type="submit" value="Click to Continue" name="ClicktoContinue"></a></p>
The hyperlink uses parameters that pass the value of the "Remote_computer_name" and the value of "committed" to a SQL statement that uses the values returned to update the underlying database.
The hyperlink code runs perfectly when I click on the submit button on the web page and updates the database however at that point I want the user to be redirected to a new page i.e. a second URL address.
View Replies
View Related
I have a Submit button on a web page that runs the following hyperlink code below.
<p>
<a href="ProducsTotalBasket.asp?Remote_computer_name=<%=FP_FieldURL(fp_rs,"Remote_computer_name")%>&Committed=<%=FP_FieldURL(fp_rs,"Committed")%>">
<input type="submit" value="Click to Continue" name="ClicktoContinue"></a></p>
The hyperlink uses parameters that pass the value of the "Remote_computer_name" and the value of "committed" to a SQL statement that uses the values returned to update the underlying database.
The hyperlink code runs perfectly when I click on the submit button on the web page and updates the database however at that point I want the user to be redirected to a new page i.e. a second URL address.
View Replies
View Related
I need a menu in one of my asp pages. A click on one hyperlink should display its pull down menu of the other related hyperlinks ... as that appears in search option this forums. As an example... main link will be Alphabets. A click on it or on focus.. it should display a drop down list of other related hyperlinks.
View Replies
View Related
Is it possible to allow a person whom navigates to a particular page to type in a URL to a website they visit often, and have it be treated like code on the page itself for them to use it as a hyperlink?
View Replies
View Related